apply margin on alert banners only when there is one or more alerts
This commit is contained in:
parent
92a91a8803
commit
85666b7077
1 changed files with 4 additions and 2 deletions
|
@ -33,10 +33,12 @@ body {
|
|||
}
|
||||
|
||||
.alert-wrapper {
|
||||
margin-bottom: $gl-padding;
|
||||
|
||||
.alert {
|
||||
margin-bottom: 0;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: $gl-padding;
|
||||
}
|
||||
}
|
||||
|
||||
/* Stripe the background colors so that adjacent alert-warnings are distinct from one another */
|
||||
|
|
Loading…
Reference in a new issue