Commit e9587d50 authored by Mike Greiling's avatar Mike Greiling Committed by Douglas Barbosa Alexandre

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

parent b86f4500
...@@ -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