web/SidebarTab: fix double scale on press, hold, release

This commit is contained in:
wukko 2024-09-22 15:15:07 +06:00
parent dfaef913c4
commit a7b61dd24c
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -67,6 +67,8 @@
text-decoration-line: none;
position: relative;
scroll-behavior: smooth;
cursor: pointer;
}
.sidebar-tab :global(svg) {
@ -84,10 +86,12 @@
background: var(--sidebar-highlight);
opacity: 1;
transform: none;
transition: none;
animation: pressButton 0.3s;
cursor: default;
}
.sidebar-tab:active {
.sidebar-tab:not(.active):active {
transform: scale(0.95);
}