1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2021-06-21 08:52:46 +03:00
parent 8a09eb5c13
commit 4c8a6a5791
2 changed files with 13 additions and 10 deletions

View File

@ -23,15 +23,6 @@
--width: 75%;
--nav-width: 180px;
--nav-column-width: 30vw;
position: fixed !important; // allow to cover Hotbar
z-index: 13;
left: 0;
top: 0;
right: 0;
bottom: 0;
height: unset;
background-color: var(--settingsBackground);
width: 100%;
height: 100%;
display: grid !important;
@ -49,6 +40,18 @@
}
}
// covers whole app view area
&.showOnTop {
position: fixed !important; // allow to cover ClustersMenu
z-index: 13;
left: 0;
top: 0;
right: 0;
bottom: 0;
height: unset;
background-color: var(--settingsBackground);
}
> .sidebarRegion {
display: flex;
justify-content: flex-end;

View File

@ -81,7 +81,7 @@ export class SettingLayout extends React.Component<SettingLayoutProps> {
contentClass, provideBackButtonNavigation,
contentGaps, navigation, children, ...elemProps
} = this.props;
const className = cssNames("SettingLayout", { showNavigation: navigation }, this.props.className);
const className = cssNames("SettingLayout", "showOnTop", { showNavigation: navigation }, this.props.className);
return (
<div {...elemProps} className={className}>