fix: overflow on menu and content

This commit is contained in:
Gaëlle Morin 2019-12-12 17:32:00 +01:00
parent c7291e5c6f
commit fa50142438
2 changed files with 7 additions and 7 deletions

View File

@ -19,12 +19,12 @@ $breakpoints: (phone: 480px,
body {
background-color: $color-210-25-95;
color: $color-213-4-50;
display: flex;
flex-direction: column;
font-size: 1.6rem;
overflow-y: scroll;
}
html {
overflow-y: scroll;
height: 100vh;
overflow: hidden;
overflow-wrap: break-word;
}
main {

View File

@ -2,9 +2,9 @@
background-color: $color-233-18-29;
color: $color-0-0-100;
display: block;
height: calc(100vh - 82px);
max-width: 250px;
transition: flex-basis 0.5s ease-in-out;
overflow: auto;
/*transition: flex-basis 0.5s ease-in-out;*/
&.open {
transform: translateX(0);