FIX: banner on small desktop screen

This commit is contained in:
Régis Hanol 2014-08-20 22:45:57 +02:00
parent 5f0b8e3d93
commit b2232b4dcf
2 changed files with 15 additions and 4 deletions

View File

@ -1,8 +1,10 @@
{{#if visible}} {{#if visible}}
<div id="banner" {{bind-attr class="overlay"}}> <div class="row">
<div id="banner-content"> <div id="banner" {{bind-attr class="overlay"}}>
<div class="close" {{action dismiss}}><i class="fa fa-times" title="{{i18n banner.close}}"></i></div> <div id="banner-content">
{{{banner.html}}} <div class="close" {{action dismiss}}><i class="fa fa-times" title="{{i18n banner.close}}"></i></div>
{{{banner.html}}}
</div>
</div> </div>
</div> </div>
{{/if}} {{/if}}

View File

@ -4,5 +4,14 @@
#banner { #banner {
margin-bottom: 10px; margin-bottom: 10px;
}
@media all
and (min-width: 1090px) {
width: 1090px; width: 1090px;
} }
@media all
and (max-width: 1090px) {
width: 100%;
}