support safari

This commit is contained in:
sorata 2025-06-18 23:49:58 +05:30 committed by GitHub
parent 8deedcb405
commit 560917a5e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,6 +19,7 @@ input[type="date"],
textarea { textarea {
padding-inline: 0.5rem; padding-inline: 0.5rem;
background: var(--canvas-inset); background: var(--canvas-inset);
-webkit-user-select: text;
user-select: text; user-select: text;
} }
@ -29,6 +30,7 @@ input {
// Setting 100% height causes the sticky element to hide as you scroll down on Safari. // Setting 100% height causes the sticky element to hide as you scroll down on Safari.
html { html {
height: initial; height: initial;
-webkit-user-select: none;
user-select: none; user-select: none;
} }