mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
Make layout work nicely without navbar (content BG now expands to the top).
This commit is contained in:
@@ -23,11 +23,15 @@
|
||||
position: absolute;
|
||||
top: @header-height;
|
||||
bottom: @footer-height;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
width: 100%;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
// Specificity needed to override default `body > .content` values
|
||||
body > .content& {
|
||||
min-height: calc(~"100vh -" (@header-height + @footer-height));
|
||||
padding-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.project-list-content when (@is-overleaf) {
|
||||
|
||||
@@ -32,10 +32,10 @@ body {
|
||||
background-color: @body-bg;
|
||||
min-height: 100%;
|
||||
position: relative;
|
||||
padding-top: @header-height;
|
||||
padding-bottom: @footer-height;
|
||||
& > .content {
|
||||
min-height: calc(~"100vh -" (@header-height + @footer-height));
|
||||
min-height: calc(~"100vh -" @footer-height);
|
||||
padding-top: @header-height + @content-margin-vertical;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user