mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Give dashboard banner items some vertical space
Giving the count-label some vertical margin means it has enough space when the flexbox contents wrap. This requires a bit extra on the top to counter the negative margin the count has subtracting 5px from the parent box.
This commit is contained in:
committed by
Chris Hill-Scott
parent
08781a497f
commit
0335e7ad17
@@ -151,7 +151,7 @@
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
flex-wrap: wrap;
|
||||
padding: ($gutter-two-thirds - 1px) 0 ($gutter-two-thirds + 1px) 0;
|
||||
padding: ($gutter-half - 1px) 0 ($gutter-half + 1px) 0;
|
||||
border-top: 1px solid $border-colour;
|
||||
border-bottom: 1px solid $border-colour;
|
||||
margin-bottom: $gutter;
|
||||
@@ -181,6 +181,7 @@
|
||||
@include govuk-font(24, $weight: bold);
|
||||
text-decoration: underline;
|
||||
padding-right: govuk-spacing(6);
|
||||
margin: 10px 0px 5px; // 10px includes 5px extra to counter the -5px margin-top on the count item
|
||||
flex: 2 1 auto;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user