fix touch targets

This commit is contained in:
2026-10-26 11:17:30 -04:00
parent ef972d8ed2
commit 06a8e5da12
2 changed files with 11 additions and 1 deletions

View File

@@ -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;
} }

View File

@@ -1,3 +1,3 @@
{ {
"version": "1.0.2" "version": "1.0.3"
} }