From c4741804bceac6f5f3ea06f9041c5b4fde7a3d7d Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Fri, 13 Mar 2020 15:30:23 +0100 Subject: Fix margins/widths with top-menu and main-col on small screens --- client/src/sass/application.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'client/src/sass') diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index 89957704b..413f8c49d 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -106,9 +106,13 @@ label { color: black; } +.row { + margin: 0; +} + .main-col { margin-left: $menu-width; - width: auto; + width: calc(100% - #{$menu-width}); .margin-content { margin-left: $not-expanded-horizontal-margins; @@ -130,6 +134,7 @@ label { // Override some properties if the main content is expanded (no menu on the left) &.expanded { margin-left: 0; + width: 100%; .margin-content { margin-left: $expanded-horizontal-margins; -- cgit v1.2.3