Skip to content

Commit

Permalink
Fix background color on select component (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOtterlord authored May 17, 2023
1 parent 9ca67d8 commit 38c2c1f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/light-dingos-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/starlight": patch
---

Fix background color on select component
4 changes: 4 additions & 0 deletions packages/starlight/components/Select.astro
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ interface Props {
appearance: none;
}

option {
background-color: var(--sl-color-bg-nav);
}

@media (min-width: 50rem) {
select {
font-size: var(--sl-text-sm);
Expand Down

0 comments on commit 38c2c1f

Please sign in to comment.