Properly align workspace menu and app pages

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2021-03-17 13:26:45 +03:00
1 parent 51c5ecab2d
commit 8ebc102841
3 files changed
+6 -5

No files matched your search

@@ -11,10 +11,6 @@
grid-area: main; grid-area: main;
position: relative; position: relative;
display: flex; display: flex;
> * {
z-index: 1;
}
} }
.ClustersMenu { .ClustersMenu {
@@ -33,6 +29,7 @@
bottom: 0; bottom: 0;
display: flex; display: flex;
background-color: $mainBackground; background-color: $mainBackground;
z-index: 1;
iframe { iframe {
flex: 1; flex: 1;
@@ -61,3 +61,7 @@
} }
} }
} }
.Menu.WorkspaceMenu {
z-index: 2; // Place behind Preferences, Extension pages etc...
}
@@ -31,7 +31,7 @@
// covers whole app view area // covers whole app view area
&.showOnTop { &.showOnTop {
position: fixed !important; // allow to cover ClustersMenu position: fixed !important; // allow to cover ClustersMenu
z-index: 1; z-index: 3;
left: 0; left: 0;
top: 0; top: 0;
right: 0; right: 0;