Sidebar height fix

This commit is contained in:
reverend 2020-08-16 11:56:21 +02:00
parent 3f69ff8f0d
commit 9ebfef6c6e
2 changed files with 10 additions and 7 deletions

View File

@ -54,6 +54,7 @@ body{
grid-template-areas: "header header" "sidebar content";
margin: 0;
padding: 0;
min-height: 100vh;
}
.LP-Main__Content{
@ -77,6 +78,10 @@ body{
}
}
.LP-Menu__Trigger{
display: none;
}
@media(max-width: $-viewport-normal){
.LP-Wrapper__Site{
grid-template-columns: (0.75 * $-sidebar-width) 1fr;
@ -135,10 +140,6 @@ body{
animation-duration: .3s;
}
.LP-Menu__Trigger{
display: none;
}
.LP-Menu__TriggerLabel{
z-index: 20;
height: 60px;

View File

@ -23,7 +23,8 @@ body {
grid-template-rows: auto 1fr;
grid-template-areas: "header header" "sidebar content";
margin: 0;
padding: 0; }
padding: 0;
min-height: 100vh; }
.LP-Main__Content {
min-height: 1px;
@ -41,6 +42,9 @@ body {
.LP-Section .LP-Headline {
margin-left: -25px; }
.LP-Menu__Trigger {
display: none; }
@media (max-width: 1000px) {
.LP-Wrapper__Site {
grid-template-columns: 187.5px 1fr; } }
@ -83,8 +87,6 @@ body {
#toggle_sidebar ~ .LP-Main__Sidebar {
animation-name: slide_in_siedebar;
animation-duration: .3s; }
.LP-Menu__Trigger {
display: none; }
.LP-Menu__TriggerLabel {
z-index: 20;
height: 60px;