mirror of
https://gitlab.com/jiehong/jq_offline.git
synced 2025-02-16 01:19:14 +01:00
bugfix: disable autocomplete on mobile in the filter field
This commit is contained in:
parent
d4772962c6
commit
5301e20ae9
@ -64,7 +64,12 @@
|
|||||||
<div id="content">
|
<div id="content">
|
||||||
<div id="query">
|
<div id="query">
|
||||||
<label id="filter-label" for="filter">Query</label>
|
<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">
|
<ul id="options">
|
||||||
<p>Options</p>
|
<p>Options</p>
|
||||||
<li>
|
<li>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
:root {
|
:root {
|
||||||
font-size: 2.0rem;
|
font-size: 2.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -68,6 +68,7 @@ h1 {
|
|||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
font-family: "Fira Code", monospace;
|
font-family: "Fira Code", monospace;
|
||||||
|
font-size: inherit;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: .3em;
|
border-radius: .3em;
|
||||||
padding: .5em;
|
padding: .5em;
|
||||||
@ -128,7 +129,16 @@ textarea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
input[type=checkbox] {
|
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 {
|
#input {
|
||||||
|
Loading…
Reference in New Issue
Block a user