From 257dfa1a76e0cbf632f790ca41fa849281255eac Mon Sep 17 00:00:00 2001 From: Kevin Lin Date: Fri, 26 Jun 2020 16:35:02 -0700 Subject: [PATCH] _sass: Nest staffer classes, override staffer-name margin --- _sass/custom/staffer.scss | 34 ++++++++++++++-------------------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/_sass/custom/staffer.scss b/_sass/custom/staffer.scss index cfc33094..757766ce 100644 --- a/_sass/custom/staffer.scss +++ b/_sass/custom/staffer.scss @@ -1,29 +1,23 @@ -.role { -} - .staffer { display: flex; padding: $sp-4; - p { - @extend .staffer-name; + .staffer-image { + border-radius: 50%; + height: 100px; + margin-right: $sp-4; } -} - -.staffer-image { - border-radius: 50%; - height: 100px; - margin-right: $sp-4; -} -.staffer-name { - margin: $sp-1; -} + p, + .staffer-name { + margin: $sp-1 !important; + } -.staffer-pronouns { - @extend .label, .text-grey-dk-100, .bg-grey-lt-200; -} + .staffer-pronouns { + @extend .label, .text-grey-dk-100, .bg-grey-lt-200; + } -.staffer-meta { - @extend .text-grey-dk-000; + .staffer-meta { + @extend .text-grey-dk-000; + } }