diff --git a/app/assets/stylesheets/framework/layout.scss b/app/assets/stylesheets/framework/layout.scss
index 59fae61a44fcc0ed7c4093bf633a29ecd65685cc..5365b62e4569fff9a0dbfdc3787490b042717398 100644
--- a/app/assets/stylesheets/framework/layout.scss
+++ b/app/assets/stylesheets/framework/layout.scss
@@ -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 */