From 92bfc33bf0b19b4970e0f213b8c9c527d69f047e Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Mon, 1 Feb 2021 18:24:01 +0100 Subject: [PATCH] Remove bottom border from last section on page --- app/assets/stylesheets/layout.scss | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index e0231f2..ac82e4b 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -124,13 +124,11 @@ main { } section { - border-bottom: 1px dotted #ccc; padding-bottom: 3rem; margin-bottom: 3rem; - @include media-max(small) { - padding-bottom: 3rem; - margin-bottom: 3rem; + &:not(:last-of-type) { + border-bottom: 1px dotted #ccc; } }