fix margin on alert stripes within ":flash_message" block

This commit is contained in:
Mike Greiling 2016-12-16 14:30:28 -06:00
parent b1120fc3e7
commit d58fffb277
2 changed files with 12 additions and 3 deletions

View File

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

View File

@ -22,6 +22,7 @@
= 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
.alert-wrapper
= render "layouts/broadcast" = render "layouts/broadcast"
= render "layouts/flash" = render "layouts/flash"
= yield :flash_message = yield :flash_message