Skip to content

Commit

Permalink
Fix login on vertical layout
Browse files Browse the repository at this point in the history
  • Loading branch information
darklow committed Jan 6, 2017
1 parent 4da26e1 commit cf4daa6
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 19 deletions.
24 changes: 14 additions & 10 deletions suit/sass/layout/_footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,22 @@
position: relative;
min-height: 100%;
}
body.suit_layout_horizontal {
margin-bottom: $footer-height;
#footer {
position: absolute;
left: 0;
right: 0;
bottom: 0;
width: 100%;
min-height: $footer-height;
margin-top: -$footer-height;
body {
&.suit_layout_horizontal, &.login {
margin-bottom: $footer-height;
#footer {
position: absolute;
left: 0;
right: 0;
bottom: 0;
width: 100%;
min-height: $footer-height;
margin-top: -$footer-height;
}
}
}
}

/* Styles */
.footer {
min-height: $footer-height;
Expand Down Expand Up @@ -47,6 +50,7 @@
}
}
}

/* Override BS4 [hidden] in reboot.scss to show Django debug toolbar */
#djDebug {
&[hidden], [hidden][style*="display: block"], [hidden][style*="display:block"] {
Expand Down
2 changes: 1 addition & 1 deletion suit/sass/layout/_vertical.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ body {
margin: 0;
padding: 0;
}
body.suit_layout_vertical {
body.suit_layout_vertical:not(.login) {
display: flex;
min-height: 100vh;
//flex-direction: column;
Expand Down
16 changes: 8 additions & 8 deletions suit/static/suit/css/suit.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cf4daa6

Please sign in to comment.