feat: remove date input icon in Firefox

This commit is contained in:
Lucas Larroche 2023-04-22 11:24:21 +07:00
parent 84ff387636
commit ef2e8778ac
13 changed files with 53 additions and 9 deletions

View file

@ -71,6 +71,20 @@ input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"]) {
text-align: right;
}
// Calendar icons are hidden in Firefox
@if $enable-important {
@-moz-document url-prefix() {
[type="date"],
[type="datetime-local"],
[type="month"],
[type="time"],
[type="week"] {
padding-right: var(--form-element-spacing-horizontal) !important;
background-image: none !important;
}
}
}
// File
[type="file"] {
--color: var(--muted-color);