diff --git a/assets/sass/_theme/sections/events.sass b/assets/sass/_theme/sections/events.sass index 9fd17eb9a155d44f23c0894e765f798b19032877..9ed86981f13af65ad82df41b2a5b3c1e83c4cfb5 100644 --- a/assets/sass/_theme/sections/events.sass +++ b/assets/sass/_theme/sections/events.sass @@ -6,6 +6,9 @@ .lead @include h3 // Safe spacing if post is empty + &:not(.full-width) + .event-sidebar + @include sidebar @include media-breakpoint-up(desktop) .document-content min-height: 600px @@ -13,6 +16,7 @@ content: '' display: block height: 1px + .events__section .archive-link @@ -266,7 +270,3 @@ &:not(.event--with-image) width: col(5) margin-left: offset(4) - - -.event-sidebar - @include sidebar \ No newline at end of file diff --git a/assets/sass/_theme/sections/posts.sass b/assets/sass/_theme/sections/posts.sass index d96436f61e65a1b3838e66486ee3795098120e94..f355c79af5cdb92d0fe489d8299a564425aee078 100644 --- a/assets/sass/_theme/sections/posts.sass +++ b/assets/sass/_theme/sections/posts.sass @@ -21,9 +21,6 @@ @include meta color: $color-text-alt -.post-sidebar - @include sidebar - .posts__section, .authors__term, .posts_categories__term, @@ -85,6 +82,9 @@ // Safe spacing if post is empty .document-content min-height: 350px + &:not(.full-width) + .post-sidebar + @include sidebar .post-categories @include list-reset