mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-02-18 11:10:50 +01:00
[design] prevent copying text from menu when it is closed
This commit is contained in:
parent
89cd24568e
commit
162a8b82a4
@ -6,6 +6,7 @@
|
||||
width: 100%;
|
||||
height: 80vh;
|
||||
transform: translateY(calc(-100% - 2em));
|
||||
user-select: none;
|
||||
z-index: var(--z-index-menu);
|
||||
pointer-events: none;
|
||||
transition: transform var(--layout-timing-extra-fast);
|
||||
@ -17,6 +18,7 @@
|
||||
|
||||
.is-menu-open .menu {
|
||||
transform: translateY(0);
|
||||
user-select: auto;
|
||||
}
|
||||
|
||||
.menu-area {
|
||||
|
Loading…
Reference in New Issue
Block a user