From 1f6d2449707f0ebcbc4c890d98bc0cd74f579889 Mon Sep 17 00:00:00 2001 From: kimsible Date: Wed, 29 Apr 2020 00:32:46 +0200 Subject: Use same styles on full or not until lg screen --- client/src/sass/application.scss | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'client/src/sass') diff --git a/client/src/sass/application.scss b/client/src/sass/application.scss index f76ceaca1..0e486eab2 100644 --- a/client/src/sass/application.scss +++ b/client/src/sass/application.scss @@ -280,25 +280,23 @@ table { @media screen and (max-width: #{map-get($grid-breakpoints, lg)}) { .main-col { - &.expanded { - .margin-content { - margin-left: $expanded-horizontal-margins/3; - margin-right: $expanded-horizontal-margins/3; - } + .margin-content { + margin-left: $expanded-horizontal-margins/3; + margin-right: $expanded-horizontal-margins/3; + } - .sub-menu { - padding-left: 50px; - padding-right: 50px; + .sub-menu { + padding-left: 50px; + padding-right: 50px; - .title-page { - font-size: 17px; - } + .title-page { + font-size: 17px; } } } } -@media screen and (max-width: #{$mobile-view + $menu-width}) { +@media screen and (min-width: $mobile-view) and (max-width: $small-view) { .main-col { width: 100%; } -- cgit v1.2.3