mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-28 02:26:10 +00:00
web/SidebarTab: fix double scale on press, hold, release
This commit is contained in:
parent
dfaef913c4
commit
a7b61dd24c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue