Commit 85666b70 authored by Mike Greiling's avatar Mike Greiling

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

parent 92a91a88
...@@ -33,10 +33,12 @@ body { ...@@ -33,10 +33,12 @@ body {
} }
.alert-wrapper { .alert-wrapper {
margin-bottom: $gl-padding;
.alert { .alert {
margin-bottom: 0; margin-bottom: 0;
&:last-child {
margin-bottom: $gl-padding;
}
} }
/* Stripe the background colors so that adjacent alert-warnings are distinct from one another */ /* Stripe the background colors so that adjacent alert-warnings are distinct from one another */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment