Skip to content

Commit

Permalink
fix inputoption icon placement & sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSonOfThomp committed Jun 25, 2024
1 parent 1e55e41 commit c270d20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export const getLeftGlyphStyles = ({
theme,
disabled,
highlighted,
selected,
}: InputOptionStyleArgs) => {
const variant = disabled ? Variant.Disabled : Variant.Primary;
const interactionState = highlighted ? State.Focus : State.Default;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const InputOptionContent = ({
<div
className={cx(
leftGlyphClassName,
getLeftGlyphStyles({ theme, disabled, highlighted }),
getLeftGlyphStyles({ theme, disabled, highlighted, selected }),
)}
>
{leftGlyph}
Expand Down

0 comments on commit c270d20

Please sign in to comment.