bugfix: disable autocomplete on mobile in the filter field

This commit is contained in:
Jiehong Ma 2021-10-02 23:48:22 +02:00
parent d4772962c6
commit 5301e20ae9
2 changed files with 18 additions and 3 deletions

View File

@ -64,7 +64,12 @@
<div id="content">
<div id="query">
<label id="filter-label" for="filter">Query</label>
<input id="filter" type="text" name="filter" />
<input id="filter" type="text" name="filter"
autocapitalize="off"
autocomplete="off"
spellcheck="false"
autocorrect="off"
/>
<ul id="options">
<p>Options</p>
<li>

View File

@ -1,5 +1,5 @@
:root {
font-size: 2.0rem;
font-size: 2.5rem;
}
body {
@ -68,6 +68,7 @@ h1 {
textarea {
font-family: "Fira Code", monospace;
font-size: inherit;
border: none;
border-radius: .3em;
padding: .5em;
@ -128,7 +129,16 @@ textarea {
}
input[type=checkbox] {
transform: scale(1.3);
transform: scale(2.5);
height: 2.5em;
}
@media only screen and (min-width: 1000px) {
/* For Desktops */
input[type=checkbox] {
transform: scale(1.3);
height: 1em;
}
}
#input {