Fix absolute layout mode spacing w/ ?layout=false

Bug # 15269

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/1842/head
Alex Coles 10 years ago
parent dfc5c6ebee
commit 5d59e2e5d9
  1. 9
      app/assets/stylesheets/layout/_base.sass

@ -90,6 +90,10 @@ h4, .wiki h3
border: border:
bottom: 5px solid $footer_bg_color bottom: 5px solid $footer_bg_color
&.nomenus
%absolute-layout-mode &
top: 0
#content #content
@include default-transition @include default-transition
margin: 0 0 0 $main_menu_width margin: 0 0 0 $main_menu_width
@ -121,6 +125,11 @@ h4, .wiki h3
%absolute-layout-mode & %absolute-layout-mode &
width: 100% width: 100%
&.nomenus
%absolute-layout-mode &
width: 100%
height: 100%
&:after &:after
content: "." content: "."
display: block display: block

Loading…
Cancel
Save