apply margin on alert banners only when there is one or more alerts

This commit is contained in:
Mike Greiling 2016-12-20 17:21:02 -06:00
parent 92a91a8803
commit 85666b7077

View file

@ -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 */