Skip to content

Commit

Permalink
fix(SelectInput): required icon to be 10px (#2253)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthprost authored Feb 10, 2023
1 parent 6931b32 commit b6f3b1b
Show file tree
Hide file tree
Showing 3 changed files with 1,491 additions and 1,981 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2909,13 +2909,13 @@ exports[`SelectInput renders correctly required 1`] = `
flex-wrap: nowrap;
}
.cache-1u6olvk-StyledIcon-sizeStyles {
.cache-1df1xfu-StyledIcon-sizeStyles {
vertical-align: middle;
fill: #a6102d;
height: 8px;
width: 8px;
min-width: 8px;
min-height: 8px;
height: 10px;
width: 10px;
min-width: 10px;
min-height: 10px;
}
.cache-nag7g3-StyledIcon-sizeStyles {
Expand Down Expand Up @@ -3026,7 +3026,7 @@ exports[`SelectInput renders correctly required 1`] = `
class="cache-we9r3h-Stack e1sgck4o0"
>
<svg
class="cache-1u6olvk-StyledIcon-sizeStyles etwatq50"
class="cache-1df1xfu-StyledIcon-sizeStyles etwatq50"
viewBox="0 0 24 24"
>
<path
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/components/SelectInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ const DropdownIndicator = (
<components.DropdownIndicator {...props}>
<Stack gap={1} direction="row" alignItems="center">
{required ? (
<Icon name="asterisk" size={8} color={theme.colors.danger.text} />
<Icon name="asterisk" size={10} color={theme.colors.danger.text} />
) : null}
{time ? <StyledSeparator direction="vertical" /> : null}
<Icon
Expand Down
Loading

0 comments on commit b6f3b1b

Please sign in to comment.