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}
|
||||
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>
|
||||
);
|
||||
|
|
|
@ -67,6 +67,7 @@
|
|||
height: 24px;
|
||||
margin-bottom: 6px;
|
||||
fill: #4a4a4a;
|
||||
touch-action: initial;
|
||||
}
|
||||
|
||||
.tab__text {
|
||||
|
|
Loading…
Reference in a new issue