Skip to content

Commit 36f5476

Browse files
committed
refactor: border style in one line ensuring regular space between attributes
1 parent df821d6 commit 36f5476

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/SwitchSelector.styled.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ export const SwitchSelectorWrapper = styled("div")<SwitchSelectorWrapperPropType
7979
typeof optionBorderRadius === "number"
8080
? `${optionBorderRadius}px`
8181
: optionBorderRadius};
82-
border: ${(props) => props.selectionIndicatorMargin}px solid
83-
${(props) => props.backgroundColor};
82+
border: ${(props) => props.selectionIndicatorMargin}px ${"solid "}${(props) => props.backgroundColor};
8483
background: ${(props) => props.selectedBackgroundColor};
8584
transition:
8685
left 0.1s linear,

0 commit comments

Comments
 (0)