web: move iPadOS workaround to global level

This commit is contained in:
dumbmoron 2024-08-06 14:19:01 +00:00
parent 3b90f5ee17
commit 5948cab4fb
No known key found for this signature in database
2 changed files with 6 additions and 2 deletions

View file

@ -254,8 +254,6 @@
/* workaround for safari */ /* workaround for safari */
font-size: inherit; font-size: inherit;
user-select: text;
-webkit-user-select: text;
} }
#link-area:focus-visible { #link-area:focus-visible {

View file

@ -365,6 +365,12 @@
background-color: var(--blue) !important; background-color: var(--blue) !important;
} }
/* workaround for typing into inputs being ignored on iPadOS 15 */
:global(input) {
user-select: text;
-webkit-user-select: text;
}
@media (hover: hover) { @media (hover: hover) {
:global(button:hover) { :global(button:hover) {
background-color: var(--button-hover); background-color: var(--button-hover);