Use correct body padding when not logged in to allow for top navigation bar
This commit is contained in:
parent
d86bf2bf9d
commit
aeb924cab9
|
@ -9,4 +9,9 @@ body {
|
|||
@include media-breakpoint-down('md') {
|
||||
padding-bottom: $navbar-height;
|
||||
}
|
||||
|
||||
&.not-logged-in {
|
||||
padding-top: $navbar-height;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
|
@ -20,7 +20,7 @@
|
|||
= csrf_meta_tags
|
||||
= yield(:og)
|
||||
= yield(:meta)
|
||||
%body
|
||||
%body{ class: user_signed_in? ? '' : 'not-logged-in'}
|
||||
- if user_signed_in?
|
||||
= render 'navigation/main'
|
||||
- else
|
||||
|
|
Loading…
Reference in New Issue