mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
8a09eb5c13
commit
4c8a6a5791
@ -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;
|
||||
|
||||
@ -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}>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user