From 78833a269447dde17ca362b500e7c6edab2d78f4 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Pasquier Date: Tue, 26 May 2020 15:13:16 +0200 Subject: [PATCH] fix: z-index of main --- src/styles/base/main.scss | 1 + src/styles/base/menu-left.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/src/styles/base/main.scss b/src/styles/base/main.scss index 2bd45f9..29f3946 100644 --- a/src/styles/base/main.scss +++ b/src/styles/base/main.scss @@ -18,6 +18,7 @@ main { display: flex; + z-index: 0; overflow: hidden; height: calc(100vh - 83px); /* 83px = height of the header */ position: relative; diff --git a/src/styles/base/menu-left.scss b/src/styles/base/menu-left.scss index 9dd8e13..a4b5459 100644 --- a/src/styles/base/menu-left.scss +++ b/src/styles/base/menu-left.scss @@ -137,6 +137,7 @@ sib-display.nosub>nav { text-align: center; + overflow: hidden; display: grid; grid-template-columns: auto 50% auto; grid-template-areas: "left middle right";