@tsteur opened this Issue on August 6th 2018 Member

On mobile (Android 7, Chrome) I found it hard to close the popup. I had to click like 10 times on the x until I had clicked a position where it actually worked.

screenshot_20180807-102318

@Findus23 commented on May 24th 2020 Member

The button is really hard to hit as it is only 12x12px large. This change doesn't change the looks apart from moving it away a bit from the right corner, but makes the clickable area 46x46px large.
As this is not a part from the Matomo repo, I can't make a PR, so the diff is below:

diff --git a/before.css b/after.css
index 67563d5bd1..bfb18bd2d2 100644
--- a/before.css
+++ b/after.css
@@ -1,7 +1,7 @@
 .premiumFooterBanner .icon-close {
     position: absolute;
     right: 12px;
-    margin-top: 17px;
+    padding: 17px;
     display: inline-block;
     background: <a href='/263238'>#263238</a>;
     font-size: 12px;
Powered by GitHub Issue Mirror