Skip to content
Snippets Groups Projects
Commit 5e9fa724 authored by Tom Robinson's avatar Tom Robinson
Browse files

Switch dashboard from viewport-height to full-height so the background doesn't...

Switch dashboard from viewport-height to full-height so the background doesn't get cut off in night mode
parent 9cd59ad1
Branches
Tags
No related merge requests found
......@@ -191,7 +191,7 @@ export default class Dashboard extends Component {
let { error, isFullscreen, isNightMode } = this.state;
isNightMode = isNightMode && isFullscreen;
return (
<LoadingAndErrorWrapper className={cx("Dashboard viewport-height", { "Dashboard--fullscreen": isFullscreen, "Dashboard--night": isNightMode})} loading={!dashboard} error={error}>
<LoadingAndErrorWrapper className={cx("Dashboard full-height", { "Dashboard--fullscreen": isFullscreen, "Dashboard--night": isNightMode})} loading={!dashboard} error={error}>
{() =>
<div className="full" style={{ overflowX: "hidden" }}>
<header className="DashboardHeader relative z2 px1">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment