refactor(layouts): move layout HTML to baseof.html

For better maintainability
This commit is contained in:
Jimmy Cai
2020-09-12 10:33:53 +02:00
parent cca10c7947
commit ed91cb7629
9 changed files with 122 additions and 168 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
@import "variables.scss";
.article-and-sidebar {
.keep-sidebar {
@media (min-width: $on-phone) and (max-width: $on-tablet) {
--main-top-padding: 50px;
}
@@ -13,7 +13,7 @@
}
}
.left-sidebar {
&:not(.keep-sidebar) .left-sidebar {
@media (max-width: $on-tablet) {
display: none;
}