Skip to content

best way to save what you love

web: move iPadOS workaround to global level

dumbmoron5948cab4fb7b
diff --git a/web/src/components/save/Omnibox.svelte b/web/src/components/save/Omnibox.svelte
index 931aa21a..80d89aba 100644
--- a/web/src/components/save/Omnibox.svelte
+++ b/web/src/components/save/Omnibox.svelte
@@ -254,8 +254,6 @@
/* workaround for safari */
font-size: inherit;
- user-select: text;
- -webkit-user-select: text;
}
#link-area:focus-visible {
diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte
index 06336519..fe31e753 100644
--- a/web/src/routes/+layout.svelte
+++ b/web/src/routes/+layout.svelte
@@ -365,6 +365,12 @@
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) {
:global(button:hover) {
background-color: var(--button-hover);