Update style for checkbox compatibility
This commit is contained in:
parent
60bdff43e7
commit
d88ba21869
2 changed files with 19 additions and 15 deletions
|
@ -26,22 +26,28 @@ form input {
|
||||||
}
|
}
|
||||||
|
|
||||||
form > label,
|
form > label,
|
||||||
form > input[type="text"],
|
form > div > input[type="text"],
|
||||||
form > input[type="number"],
|
form > div > input[type="number"],
|
||||||
form > input[type="password"],
|
form > div > input[type="password"],
|
||||||
form > select {
|
form > div > input[type="file"],
|
||||||
|
form > div > select,
|
||||||
|
form > div > textarea,
|
||||||
|
form > div > select {
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
form > textarea {
|
form > div > textarea {
|
||||||
font-size: inherit;
|
line-height: initial;
|
||||||
font-family: inherit;
|
|
||||||
}
|
}
|
||||||
form > input[type="text"],
|
form > div > input[type="text"],
|
||||||
form > input[type="number"],
|
form > div > input[type="number"],
|
||||||
form > input[type="password"],
|
form > div > input[type="password"],
|
||||||
form > textarea {
|
form > div > input[type="file"],
|
||||||
|
form > div > textarea,
|
||||||
|
form > div > select {
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
background: var(--bg-01);
|
background: var(--bg-01);
|
||||||
|
@ -51,9 +57,7 @@ form > .buttons {
|
||||||
grid-column: 1 / -1;
|
grid-column: 1 / -1;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
form > .buttons > *,
|
form > .buttons > * {
|
||||||
form select,
|
|
||||||
form input[type="file"] {
|
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
|
|
|
@ -8,5 +8,5 @@
|
||||||
{% for field in form %}
|
{% for field in form %}
|
||||||
{{ field.errors }}
|
{{ field.errors }}
|
||||||
<label for="{{ field.id_for_label }}">{{ field.label }}</label>
|
<label for="{{ field.id_for_label }}">{{ field.label }}</label>
|
||||||
{{ field }}
|
<div>{{ field }}</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue