From 799d134e57a67c477bcb455d5e4dbe97e3a65b90 Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Sun, 06 Mar 2022 18:30:35 +0000
Subject: [PATCH] fix: mobile and ultrawide views
---
assets/scss/partials/components/_wrapper.scss | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/assets/scss/partials/components/_wrapper.scss b/assets/scss/partials/components/_wrapper.scss
index 58012f0..86b6ed8 100644
--- a/assets/scss/partials/components/_wrapper.scss
+++ b/assets/scss/partials/components/_wrapper.scss
@@ -13,16 +13,23 @@
&__main {
width: 100%;
+ &--sidebarhidden {
+ margin-top: 20px;
+ }
+
@include desktop_and_print {
width: $content-width;
+ &--sidebarhidden {
+ margin-top: 0px;
+ width: 100%;
+ }
}
@include widescreen {
width: calc(#{$content-ratio} * 80%);
- }
-
- &--sidebarhidden {
- width: 100%;
+ &--sidebarhidden {
+ width: $body-max-width;
+ }
}
}
--
Gitblit v1.10.0