Commit 7d96bc9
fix: add base styles for month/year select dropdowns
Add styling for .react-datepicker__month-select, .react-datepicker__year-select,
and .react-datepicker__month-year-select elements which were previously unstyled.
The new styles use:
- transparent background to inherit from parent (works with dark/light themes)
- color: inherit to match the parent's text color
- consistent border, border-radius, and font styling
- focus-visible outline for accessibility
This fixes issues where the native <select> elements would display with
browser default styling, which looked bad especially in dark mode themes.
Fixes #5786
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 9e4795d commit 7d96bc9
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
152 | 169 | | |
153 | 170 | | |
154 | 171 | | |
| |||
0 commit comments