From a9d3b1dd926dfc3ba5aacb0928b811fc318309e8 Mon Sep 17 00:00:00 2001
From: Alexander Bilz <mail@alexbilz.com>
Date: Sun, 06 Mar 2022 18:08:32 +0000
Subject: [PATCH] feat: add the option to hide the sidebar on post pages
---
assets/scss/partials/components/_wrapper.scss | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/assets/scss/partials/components/_wrapper.scss b/assets/scss/partials/components/_wrapper.scss
index aa6648b..58012f0 100644
--- a/assets/scss/partials/components/_wrapper.scss
+++ b/assets/scss/partials/components/_wrapper.scss
@@ -20,6 +20,10 @@
@include widescreen {
width: calc(#{$content-ratio} * 80%);
}
+
+ &--sidebarhidden {
+ width: 100%;
+ }
}
&__sidebar {
@@ -34,5 +38,9 @@
@include widescreen {
width: calc(#{$sidebar-ratio} * 80%);
}
+
+ &--sidebarhidden {
+ display: none;
+ }
}
}
--
Gitblit v1.10.0