Skip to content

Commit

Permalink
client: fix tabs scroll on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
IldarKamalov committed Sep 19, 2022
1 parent 9ffe078 commit 3f8f8c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions client/src/components/ui/Tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ const Tab = ({
className={tabClass}
onClick={handleClick}
>
<svg className="tab__icon">
<use xlinkHref={`#${label.toLowerCase()}`} />
</svg>
<div>
<svg className="tab__icon">
<use xlinkHref={`#${label.toLowerCase()}`} />
</svg>
</div>
{t(title || label)}
</div>
);
Expand Down
1 change: 1 addition & 0 deletions client/src/components/ui/Tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
height: 24px;
margin-bottom: 6px;
fill: #4a4a4a;
touch-action: initial;
}

.tab__text {
Expand Down

0 comments on commit 3f8f8c7

Please sign in to comment.