Skip to content

Commit

Permalink
border switch color
Browse files Browse the repository at this point in the history
  • Loading branch information
pompurin404 committed Aug 3, 2024
1 parent a66fd7b commit 436671d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/renderer/src/components/base/border-swtich.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ const BorderSwitch: React.FC<SiderSwitchProps> = (props) => {
<Switch
classNames={{
wrapper: cn('border-2', {
'border-transparent': !isShowBorder
'border-transparent': !isShowBorder,
'border-foreground': isShowBorder
}),
thumb: cn('absolute z-4', 'transform -translate-x-[2px]'),
...classNames
Expand Down

0 comments on commit 436671d

Please sign in to comment.