client: fix tabs scroll on mobile

This commit is contained in:
Ildar Kamalov 2022-09-19 19:30:59 +03:00
parent 9ffe078703
commit 3f8f8c7253
2 changed files with 6 additions and 3 deletions

View file

@ -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>
);

View file

@ -67,6 +67,7 @@
height: 24px;
margin-bottom: 6px;
fill: #4a4a4a;
touch-action: initial;
}
.tab__text {