feature: general layou : clean

This commit is contained in:
gaelle morin 2020-11-24 00:24:51 +01:00
parent 8468763fc4
commit 700692b1ab
No known key found for this signature in database
GPG Key ID: 028426702B95CF9C
4 changed files with 12 additions and 18 deletions

View File

@ -22,10 +22,10 @@ html(lang="en")
header#header.segment.bg-color-white.shadow header#header.segment.bg-color-white.shadow
include header.pug include header.pug
nav#main__menu.segment.bg-color-heading.text-small.text-color-white.left-menu.jsLeftMenu nav#main__menu.segment.float-left.bg-color-heading.text-small.text-color-white.left-menu.jsLeftMenu
include menu-left.pug include menu-left.pug
main#viewport.content.notLoggedIn main#viewport.segment.float-left.content.notLoggedIn
if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards) if endpoints.dashboards || (endpoints.get && endpoints.get.dashboards)
#dashboard(hidden, data-view="dashboard").no-sidebar.with-padding #dashboard(hidden, data-view="dashboard").no-sidebar.with-padding

View File

@ -466,4 +466,3 @@ solid-notifications {
display: none; display: none;
} }
} }

View File

@ -347,12 +347,12 @@ solid-dashboard section {
}*/ }*/
.left-menu { .left-menu {
grid-area: leftmenu; /*grid-area: leftmenu;*/
@include breakpoint(lg) { @include breakpoint(lg) {
height: calc(100vh - 83px); /* 83px = nav height */ height: calc(100vh - 72px); /* 72px = nav height */
position: sticky; /*position: sticky;
top: 0; top: 0;*/
overflow-x: hidden; overflow-x: hidden;
overflow-y: scroll; overflow-y: scroll;
} }
@ -382,14 +382,14 @@ solid-dashboard section {
} }
.content { .content {
grid-area: content; /*grid-area: content;*/
@include breakpoint(lg) { @include breakpoint(lg) {
position: sticky; /*position: sticky;
top: 0; top: 0;*/
overflow-y: auto; /*overflow-y: auto;*/
height: calc(100vh - 83px); height: calc(100vh - 72px);
overflow-x: hidden; /*overflow-x: hidden;*/
} }
} }

View File

@ -12,11 +12,6 @@
@import 'base/about'; @import 'base/about';
#viewport { #viewport {
display: flex;
flex: 1;
/*height: auto;
min-height: 100vh;*/
overflow-y: auto;
@import 'components/index'; @import 'components/index';
@import 'layout/members/index'; @import 'layout/members/index';
@import 'layout/job-offers/index'; @import 'layout/job-offers/index';