Skip to content

Commit eb3f886

Browse files
authored
Merge pull request #2254 from hashicorp/shleewhite/3560/fix-input-icon
fix: icon for month/week input types
2 parents 832edf6 + 4c46698 commit eb3f886

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/components/src/styles/components/form/text-input.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@
128128
// we override the default icon with the Flight corresponding one
129129
// notice: the original in Chrome has two assets, one for light and one for dark mode, and uses a special syntax, but apparently it doesn't work if used in a stylesheet
130130
&[type="date"],
131-
&[type="datetime-local"] {
131+
&[type="datetime-local"],
132+
&[type="month"],
133+
&[type="week"] {
132134
&::-webkit-calendar-picker-indicator {
133135
background-image: var(--token-form-text-input-background-image-data-url-date);
134136
background-position: center center;

0 commit comments

Comments
 (0)