Apply the fix to both expanded and not expanded, using convention

pull/2702/head
Rigel Kent 2020-04-30 17:14:03 +02:00 committed by Rigel Kent
parent 1f6d244970
commit 1def3c526e
1 changed files with 12 additions and 10 deletions

View File

@ -279,18 +279,21 @@ table {
}
@media screen and (max-width: #{map-get($grid-breakpoints, lg)}) {
/* the following applies from 500px to 900px and is partially overriden from 500px to 800px by changes below to $small-view */
.main-col {
.margin-content {
margin-left: $expanded-horizontal-margins/3;
margin-right: $expanded-horizontal-margins/3;
}
&, &.expanded {
.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;
}
}
}
}
@ -314,7 +317,6 @@ table {
.sub-menu {
width: 100vw;
overflow-x: auto;
padding-left: 15px;
padding-right: 15px;
margin-bottom: $sub-menu-margin-bottom-small-view;