forked from lix-project/hydra
Fix layout at all page sizes
This commit is contained in:
parent
3c45992182
commit
df1a33c63f
|
@ -65,6 +65,8 @@
|
|||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="skip-topbar"></div>
|
||||
|
||||
[% IF flashMsg %]
|
||||
<div class="alert alert-info">[% flashMsg %]</div>
|
||||
[% END %]
|
||||
|
|
|
@ -1,9 +1,12 @@
|
|||
@media (min-width: 768px) {
|
||||
body {
|
||||
padding-top: 40px;
|
||||
}
|
||||
div.alert {
|
||||
margin-top: 1em;
|
||||
div.skip-topbar {
|
||||
padding-top: 40px;
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
@media (max-width: 979px) {
|
||||
div.skip-topbar {
|
||||
padding-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue