fix touch targets
This commit is contained in:
@@ -850,7 +850,14 @@
|
|||||||
UPDATE BANNER & VERSION LABEL
|
UPDATE BANNER & VERSION LABEL
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
|
/* `display` below would override the [hidden] attribute, so restore it explicitly */
|
||||||
|
.update-banner[hidden],
|
||||||
|
.perfect-overlay[hidden] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
.update-banner {
|
.update-banner {
|
||||||
|
pointer-events: none;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
bottom: calc(16px + env(safe-area-inset-bottom, 0px));
|
bottom: calc(16px + env(safe-area-inset-bottom, 0px));
|
||||||
@@ -872,6 +879,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.update-banner.visible {
|
.update-banner.visible {
|
||||||
|
pointer-events: auto;
|
||||||
transform: translate(-50%, 0);
|
transform: translate(-50%, 0);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
@@ -934,6 +942,7 @@
|
|||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
.perfect-overlay {
|
.perfect-overlay {
|
||||||
|
pointer-events: none;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
z-index: 1200; /* below the confetti canvas (9999) so confetti falls over the card */
|
z-index: 1200; /* below the confetti canvas (9999) so confetti falls over the card */
|
||||||
@@ -949,6 +958,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.perfect-overlay.visible {
|
.perfect-overlay.visible {
|
||||||
|
pointer-events: auto;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"version": "1.0.2"
|
"version": "1.0.3"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user