mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-24 22:15:45 +03:00
client: fix tabs scroll on mobile
This commit is contained in:
parent
9ffe078703
commit
3f8f8c7253
2 changed files with 6 additions and 3 deletions
|
@ -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>
|
||||||
);
|
);
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue