Commit d58fffb2 authored by Mike Greiling's avatar Mike Greiling

fix margin on alert stripes within ":flash_message" block

parent b1120fc3
...@@ -32,6 +32,14 @@ body { ...@@ -32,6 +32,14 @@ body {
} }
} }
.alert-wrapper {
margin-bottom: $gl-padding;
.alert {
margin-bottom: 0;
}
}
/* The following prevents side effects related to iOS Safari's implementation of -webkit-overflow-scrolling: touch, /* The following prevents side effects related to iOS Safari's implementation of -webkit-overflow-scrolling: touch,
which is applied to the body by jquery.nicescroling plugin to force hardware acceleration for momentum scrolling. Side which is applied to the body by jquery.nicescroling plugin to force hardware acceleration for momentum scrolling. Side
......
...@@ -22,9 +22,10 @@ ...@@ -22,9 +22,10 @@
= render "layouts/nav/#{nav}" = render "layouts/nav/#{nav}"
.content-wrapper{ class: "#{layout_nav_class}" } .content-wrapper{ class: "#{layout_nav_class}" }
= yield :sub_nav = yield :sub_nav
= render "layouts/broadcast" .alert-wrapper
= render "layouts/flash" = render "layouts/broadcast"
= yield :flash_message = render "layouts/flash"
= yield :flash_message
%div{ class: "#{(container_class unless @no_container)} #{@content_class}" } %div{ class: "#{(container_class unless @no_container)} #{@content_class}" }
.content{ id: "content-body" } .content{ id: "content-body" }
= yield = yield
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