Skip to content

Commit

Permalink
Apply more tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Jun 26, 2024
1 parent 88a2040 commit 6ecc280
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/components/src/custom-select-control-v2/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ export const Select = styled( Ariakit.Select, {
font-family: inherit;
font-size: ${ CONFIG.fontSize };
text-align: left;
user-select: none;
width: 100%;
&[data-focus-visible] {
Expand All @@ -106,7 +107,7 @@ export const Select = styled( Ariakit.Select, {

export const SelectPopover = styled( Ariakit.SelectPopover )`
border-radius: 2px;
background: ${ COLORS.theme.background };
background-color: ${ COLORS.theme.background };
border: 1px solid ${ COLORS.theme.foreground };
&[data-focus-visible] {
Expand All @@ -123,7 +124,7 @@ export const SelectItem = styled( Ariakit.SelectItem )`
// Legacy line height is 28px.
// TODO: reassess for non-legacy v2
line-height: calc( 28px / ${ CONFIG.fontSize } );
scroll-margin: ${ space( 1 ) };
user-select: none;
&[aria-disabled='true'] {
Expand Down

0 comments on commit 6ecc280

Please sign in to comment.