Don’t show the “(optional)” label for filter inputs
It adds nothing, as all input fields for filters show be optional.
This commit is contained in:
parent
79ec3ae4d6
commit
e68eb52578
|
@ -374,15 +374,15 @@ input.width-2x {
|
|||
color: var(--numerus--color--red);
|
||||
}
|
||||
|
||||
[lang="en"] textarea:not([required]) + label::after,
|
||||
[lang="en"] input:not([required]) + label::after,
|
||||
[lang="en"] select:not([required]) + label::after {
|
||||
[lang="en"] form:not(.filters) textarea:not([required]) + label::after,
|
||||
[lang="en"] form:not(.filters) input:not([required]) + label::after,
|
||||
[lang="en"] form:not(.filters) select:not([required]) + label::after {
|
||||
content: " (optional)"
|
||||
}
|
||||
|
||||
[lang="ca"] textarea:not([required]) + label::after, [lang="es"] textarea:not([required]) + label::after,
|
||||
[lang="ca"] input:not([required]) + label::after, [lang="es"] input:not([required]) + label::after,
|
||||
[lang="ca"] select:not([required]) + label::after, [lang="es"] select:not([required]) + label::after {
|
||||
[lang="ca"] form:not(.filters) textarea:not([required]) + label::after, [lang="es"] form:not(.filters) textarea:not([required]) + label::after,
|
||||
[lang="ca"] form:not(.filters) input:not([required]) + label::after, [lang="es"] form:not(.filters) input:not([required]) + label::after,
|
||||
[lang="ca"] form:not(.filters) select:not([required]) + label::after, [lang="es"] form:not(.filters) select:not([required]) + label::after {
|
||||
content: " (opcional)"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue