Skip to content

Commit 79a16ac

Browse files
authored
Merge pull request #394 from r38y/r38y/hide-calendar-icon-in-firefox
Hide the calendar icon in inputs in Firefox.
2 parents 8381b23 + 0315a97 commit 79a16ac

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

assets/default.css

+14
Original file line numberDiff line numberDiff line change
@@ -2562,3 +2562,17 @@
25622562
padding: 0;
25632563
}
25642564
}
2565+
2566+
/*
2567+
Hide the calendar icon added by Petal in Firefox since Firefox includes one
2568+
and the onclick for the Petal one doesn't work.
2569+
See: https://css-tricks.com/snippets/css/css-hacks-targeting-firefox/
2570+
*/
2571+
@-moz-document url-prefix() {
2572+
.pc-date-input {
2573+
@apply pe-3;
2574+
}
2575+
.pc-date-input-icon {
2576+
@apply hidden;
2577+
}
2578+
}

0 commit comments

Comments
 (0)