diff --git a/_sass/custom/announcement.scss b/_sass/custom/announcement.scss index 792c9d3965fbd13652ae805fc24a40f97f584b03..105f194dc1a05916e2776d30f1d2975a82e1f799 100644 --- a/_sass/custom/announcement.scss +++ b/_sass/custom/announcement.scss @@ -4,9 +4,4 @@ h1, h2 { @extend .text-gamma; } - - .label { - @extend %card-meta; - margin-left: 0; - } } diff --git a/_sass/custom/card.scss b/_sass/custom/card.scss index 0f6edf5b9fb2f86f1357a47a7a7b501ec7e8cc91..eea5bc86067df18e007b2d65cc97109217c902a8 100644 --- a/_sass/custom/card.scss +++ b/_sass/custom/card.scss @@ -29,10 +29,10 @@ margin-top: 0; margin-bottom: 0.5em; } -} -%card-meta { - border-radius: $border-radius; - padding-bottom: 0; - user-select: none; + .label { + border-radius: $border-radius; + margin-left: 0; + user-select: none; + } } diff --git a/_sass/custom/custom.scss b/_sass/custom/custom.scss index a0f266fb3e1c8d914e62794e26e110fe77afdf64..c16b8475114314a578af81b3f066b871bce7c239 100644 --- a/_sass/custom/custom.scss +++ b/_sass/custom/custom.scss @@ -26,9 +26,10 @@ div.highlighter-rouge[overlay] { position: relative; &::after { - @extend .label, %card-meta, .text-grey-dk-100; + @extend .label, .text-grey-dk-100; background-color: $white; + border-radius: $border-radius; bottom: $sp-2; content: attr(overlay); position: absolute; diff --git a/_sass/custom/module.scss b/_sass/custom/module.scss index 572e28146289811ae6d2356e68b710c0d4b6854b..fcb7b0e17b7672408fcdc09acf7ea7a2998efba3 100644 --- a/_sass/custom/module.scss +++ b/_sass/custom/module.scss @@ -6,11 +6,6 @@ @extend .text-gamma; } - .label { - @extend %card-meta; - margin-left: 0; - } - >dl { border-bottom: $border $border-color; border-top: $border $border-color;