diff --git a/_sass/custom/mixins.scss b/_sass/custom/mixins.scss index a337fce4ea16ea7c22413d6310fefea8321045ed..6bd5d3ed1bd943f31815f014ae826f85e2a7b3f5 100644 --- a/_sass/custom/mixins.scss +++ b/_sass/custom/mixins.scss @@ -21,8 +21,3 @@ margin: $sp-2 0; } } - -@mixin module-label() { - margin-left: 0; - padding-bottom: 0; -} diff --git a/_sass/custom/module.scss b/_sass/custom/module.scss index e6d8f26b8598b74c9e4c35c32b8450e6251f181e..6a87c1ac3f0deabd60b49622050946c141d9cbef 100644 --- a/_sass/custom/module.scss +++ b/_sass/custom/module.scss @@ -87,19 +87,21 @@ padding-top: 0; } } -} -.label.label-hw-out { - @extend .label-yellow; - @include module-label(); -} + .label { + margin-left: 0; + padding-bottom: 0; -.label.label-hw-due { - @extend .label-red; - @include module-label(); -} + &.label-hw-out { + @extend .label-yellow; + } -.label.label-section { - @extend .label-purple; - @include module-label(); + &.label-hw-due { + @extend .label-red; + } + + &.label-section { + @extend .label-purple; + } + } }