From cae74c8a09cd5966a0970a6860d392622a959bbe Mon Sep 17 00:00:00 2001 From: Andrew Croce Date: Mon, 9 Jul 2018 14:39:20 -0400 Subject: [PATCH] panel margin mixin --- scss/elements/_panels.scss | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/scss/elements/_panels.scss b/scss/elements/_panels.scss index 2ed294d6..357f01dd 100644 --- a/scss/elements/_panels.scss +++ b/scss/elements/_panels.scss @@ -9,11 +9,6 @@ border-bottom-width: 1px; border-top-style: solid; border-bottom-style: solid; - margin-bottom: $site-margins-mobile * 2; - - @include media($medium-screen) { - margin-bottom: $site-margins * 2; - } } @mixin panel-theme-default { @@ -21,9 +16,18 @@ border-bottom-color: $color-gray-light; } +@mixin panel-margin { + margin-bottom: $site-margins-mobile * 2; + + @include media($medium-screen) { + margin-bottom: $site-margins * 2; + } +} + .panel { @include panel-base; @include panel-theme-default; + @include panel-margin; } /*