Skip to content

Commit 054c501

Browse files
committed
fix clashing active tab border
1 parent 2408595 commit 054c501

File tree

1 file changed

+8
-8
lines changed
  • packages/ui/src/components/widgets/TokenWidget/widget

1 file changed

+8
-8
lines changed

packages/ui/src/components/widgets/TokenWidget/widget/index.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,13 +1218,12 @@ const TokenWidget: FC<TokenWidgetProps> = ({
12181218
css={{
12191219
padding: '12px',
12201220
background: 'none',
1221-
outline: '1px solid transparent',
1221+
border: '1px solid transparent',
12221222
color: 'gray11',
12231223
'&[data-state="active"]': {
12241224
background: 'white',
12251225
borderRadius: '12px',
1226-
'--outlineColor': 'colors.slate.4',
1227-
outline: '1px solid var(--outlineColor)',
1226+
borderColor: 'slate.4',
12281227
color: 'gray12'
12291228
},
12301229
'&:not([data-state="active"])': {
@@ -1234,7 +1233,8 @@ const TokenWidget: FC<TokenWidgetProps> = ({
12341233
},
12351234
_dark: {
12361235
'&[data-state="active"]': {
1237-
background: 'gray1'
1236+
background: 'gray1',
1237+
borderColor: 'gray.4'
12381238
},
12391239
'&:not([data-state="active"])': {
12401240
_hover: {
@@ -1251,13 +1251,12 @@ const TokenWidget: FC<TokenWidgetProps> = ({
12511251
css={{
12521252
padding: '12px',
12531253
background: 'none',
1254-
outline: '1px solid transparent',
1254+
border: '1px solid transparent',
12551255
color: 'gray11',
12561256
'&[data-state="active"]': {
12571257
background: 'white',
12581258
borderRadius: '12px',
1259-
'--outlineColor': 'colors.slate.4',
1260-
outline: '1px solid var(--outlineColor)',
1259+
borderColor: 'slate.4',
12611260
color: 'gray12'
12621261
},
12631262
'&:not([data-state="active"])': {
@@ -1267,7 +1266,8 @@ const TokenWidget: FC<TokenWidgetProps> = ({
12671266
},
12681267
_dark: {
12691268
'&[data-state="active"]': {
1270-
background: 'gray1'
1269+
background: 'gray1',
1270+
borderColor: 'gray.4'
12711271
},
12721272
'&:not([data-state="active"])': {
12731273
_hover: {

0 commit comments

Comments
 (0)