diff --git a/app/assets/stylesheets/publisher-table.scss b/app/assets/stylesheets/publisher-table.scss index 54e75cb39..6c61d0500 100644 --- a/app/assets/stylesheets/publisher-table.scss +++ b/app/assets/stylesheets/publisher-table.scss @@ -6,78 +6,77 @@ font-size: 1.1875rem; } - .govuk-table { - border-top: 2px solid $govuk-text-colour; - - .govuk-table__header { - white-space: nowrap; + .govuk-tag { + &--amends_needed { + @extend .govuk-tag--red; // stylelint-disable-line scss/at-extend-no-missing-placeholder } - .govuk-table__cell__updated { - white-space: nowrap; + &--archived { + @extend .govuk-tag--blue; // stylelint-disable-line scss/at-extend-no-missing-placeholder } - .govuk-tag { - &--amends_needed { - @extend .govuk-tag--red; - } + &--draft { + @extend .govuk-tag--yellow; // stylelint-disable-line scss/at-extend-no-missing-placeholder + } - &--archived { - @extend .govuk-tag--blue; - } + &--fact_check { + @extend .govuk-tag--purple; // stylelint-disable-line scss/at-extend-no-missing-placeholder + } - &--draft { - @extend .govuk-tag--yellow; - } + &--fact_check_received { + @extend .govuk-tag--pink; // stylelint-disable-line scss/at-extend-no-missing-placeholder + } - &--fact_check { - @extend .govuk-tag--purple; - } + &--ready { + @extend .govuk-tag--green; // stylelint-disable-line scss/at-extend-no-missing-placeholder + } - &--fact_check_received { - @extend .govuk-tag--pink; - } + &--scheduled_for_publishing { + @extend .govuk-tag--turquoise; // stylelint-disable-line scss/at-extend-no-missing-placeholder + } - &--ready { - @extend .govuk-tag--green; - } + &--published { + @extend .govuk-tag--orange; // stylelint-disable-line scss/at-extend-no-missing-placeholder + } - &--scheduled_for_publishing { - @extend .govuk-tag--turquoise; - } + &--in_review { + @extend .govuk-tag--grey; // stylelint-disable-line scss/at-extend-no-missing-placeholder + } + } - &--published { - @extend .govuk-tag--orange; - } + .govuk-table { + border-top: 2px solid $govuk-text-colour; - &--in_review { - @extend .govuk-tag--grey; - } + .govuk-table__header { + white-space: nowrap; } - .govuk-details { - margin-top: govuk-spacing(2); - margin-bottom: 0 !important; + .govuk-table__cell__updated { + white-space: nowrap; } + } - .govuk-summary-list { - width: auto; - } + .govuk-details { + margin-top: govuk-spacing(2); + } - .govuk-details__summary { - &:before { - color: $govuk-text-colour; - } - } + .govuk-summary-list { + width: auto; + } - .govuk-details__summary-text { + .govuk-details__summary { + &::before { color: $govuk-text-colour; } + } + + .govuk-details__summary-text { + color: $govuk-text-colour; + } - .govuk-details__text { - dd { - word-break: break-word; - } + .govuk-details__text { + dd { + word-break: break-word; } } }