diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/index.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/web/index.html b/web/index.html index 5a56e5f76..46b20be1f 100644 --- a/web/index.html +++ b/web/index.html @@ -43,6 +43,25 @@ height: calc(100% + env(safe-area-inset-top)); } + /* Remove autofill styles on Webkit */ + input:-webkit-autofill, + input:-webkit-autofill:hover, + input:-webkit-autofill:focus, + textarea:-webkit-autofill, + textarea:-webkit-autofill:hover, + textarea:-webkit-autofill:focus, + select:-webkit-autofill, + select:-webkit-autofill:hover, + select:-webkit-autofill:focus { + border: 0; + -webkit-text-fill-color: transparent; + -webkit-box-shadow: none; + } + /* Force left-align date/time inputs on iOS mobile */ + input::-webkit-date-and-time-value { + text-align: left; + } + /* Color theming */ :root { --text: black; |