Skip to content

Commit

Permalink
Independent scroll for <Drawer> and <Documentation> (looks like a app)
Browse files Browse the repository at this point in the history
  • Loading branch information
soyjavi committed Oct 29, 2015
1 parent ae78976 commit 0e268a4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/app/components/layout/main/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@

.navigation {
flex-grow: 1;
text-align: right;
padding-right: $button-floating-height;
text-align: right;
> ul {
list-style: none;
> li {
Expand All @@ -48,13 +48,15 @@

.mainwrapper {
display: flex;
min-height: 100vh;
margin-top: $appbar-height;
max-height: 100vh;
padding-top: $appbar-height;
overflow: hidden;
}

.drawer {
max-width: 22 * $unit;
min-height: 100%;
max-height: 100%;
overflow-y: scroll;
border-right: 1px solid $color-divider;
}

Expand All @@ -63,8 +65,10 @@
}

.documentation {
max-height: 100%;
flex-grow: 1;
padding: .8 * $unit $appbar-h-padding;
overflow-y: scroll;
background-color: $color-content;
}

Expand Down

0 comments on commit 0e268a4

Please sign in to comment.