From 90b53176a6ff127906e2024de9c186ddcf1b61d3 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sat, 24 Oct 2020 17:27:09 +0200 Subject: [PATCH] Make the menu have a fixed width --- src/styles/theme/content.scss | 2 +- src/styles/theme/variables.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/styles/theme/content.scss b/src/styles/theme/content.scss index bff3b893a..d013dc982 100644 --- a/src/styles/theme/content.scss +++ b/src/styles/theme/content.scss @@ -9,7 +9,7 @@ z-index: 2; &.is-menu-enabled { - margin-left: 17vw; + margin-left: $navbar-width; } @media screen and (max-width: $tablet) { diff --git a/src/styles/theme/variables.scss b/src/styles/theme/variables.scss index bb46b8096..11133a6a1 100644 --- a/src/styles/theme/variables.scss +++ b/src/styles/theme/variables.scss @@ -50,6 +50,6 @@ $user-dropdown-width-mobile: 4rem; $hamburger-menu-icon-spacing: 1rem; $hamburger-menu-icon-width: 28px; $navbar-height: 4rem; -$navbar-width: 17vw; +$navbar-width: 300px; $editor-border-color: #ddd;