web/SidebarTab: apply will-change only on iphone
This commit is contained in:
parent
459c746dcc
commit
1160b90c17
1 changed files with 4 additions and 1 deletions
|
@ -61,7 +61,6 @@
|
|||
opacity: 0.8;
|
||||
height: fit-content;
|
||||
border-radius: var(--border-radius);
|
||||
will-change: transform;
|
||||
transition: transform 0.2s;
|
||||
}
|
||||
|
||||
|
@ -71,6 +70,10 @@
|
|||
width: 21px;
|
||||
}
|
||||
|
||||
:global(.on-iPhone .sidebar-tab svg) {
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.sidebar-tab.active {
|
||||
color: var(--sidebar-bg);
|
||||
background: var(--sidebar-highlight);
|
||||
|
|
Loading…
Reference in a new issue