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} className={tabClass}
onClick={handleClick} onClick={handleClick}
> >
<svg className="tab__icon"> <div>
<use xlinkHref={`#${label.toLowerCase()}`} /> <svg className="tab__icon">
</svg> <use xlinkHref={`#${label.toLowerCase()}`} />
</svg>
</div>
{t(title || label)} {t(title || label)}
</div> </div>
); );

View File

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