mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-28 18:08:51 +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}
|
||||||
>
|
>
|
||||||
|
<div>
|
||||||
<svg className="tab__icon">
|
<svg className="tab__icon">
|
||||||
<use xlinkHref={`#${label.toLowerCase()}`} />
|
<use xlinkHref={`#${label.toLowerCase()}`} />
|
||||||
</svg>
|
</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