Skip to content

Commit

Permalink
Merge pull request #73 from heorhi-deriv/vertical-tab-improvement
Browse files Browse the repository at this point in the history
Vertical tab improvement
  • Loading branch information
shayan-deriv authored Feb 14, 2024
2 parents fbbcd5b + 2045dc9 commit 7235f4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions lib/components/VerticalTab/VerticalTab.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
.vertical-tab__wrapper {
padding: 8px;
display: flex;
justify-content: center;
gap:25px;
gap: 25px;
@include mobile {
flex-direction: column;;
flex-direction: column;
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/components/VerticalTab/VerticalTabItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const VerticalTabItem = ({ tab, onClick, className, selectedTab }: Vertic
<div
className={
clsx('vertical-tab__item', {
'vertical-tab__item--active': tab.title === selectedTab,
'vertical-tab__item--active': tab.id === selectedTab,
'vertical-tab__item--disabled': tab.is_disabled
}, className)
}
Expand Down

0 comments on commit 7235f4f

Please sign in to comment.