mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix z-index of workspace context menu
This commit is contained in:
@@ -1011,7 +1011,7 @@ input[type="range"]:focus::-ms-fill-upper {
|
||||
padding-left: 16px;
|
||||
top: 16px;
|
||||
right: 16px;
|
||||
z-index: 1005;
|
||||
z-index: 40;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -905,7 +905,7 @@
|
||||
margin: 0;
|
||||
margin-top: $s-1;
|
||||
border-radius: $br-8;
|
||||
z-index: $z-index-3;
|
||||
z-index: $z-index-4;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
background-color: var(--menu-background-color);
|
||||
|
||||
@@ -6,8 +6,9 @@
|
||||
|
||||
$z-index-1: 1; // floating elements
|
||||
$z-index-2: 2; // sidebars
|
||||
$z-index-3: 3; // context menu
|
||||
$z-index-4: 4; // modal
|
||||
$z-index-3: 3; // topbar
|
||||
$z-index-4: 4; // context menu
|
||||
$z-index-5: 5; // modal
|
||||
$z-index-10: 10;
|
||||
$z-index-20: 20;
|
||||
$z-index-modal: 30; // When refactor finish we can reduce this number,
|
||||
|
||||
Reference in New Issue
Block a user