Fix inconsistent sidebar sizing due to scrollbars with viewport units for desktop only (#182)

This commit is contained in:
Jeffrey Grover 2019-06-24 12:57:45 -07:00 committed by Alexandre Vicenzi
parent 56ff304672
commit 37b42ff61f
2 changed files with 8 additions and 7 deletions

View file

@ -484,8 +484,8 @@ ul.social {
@media screen and (min-width: 768px) { @media screen and (min-width: 768px) {
aside { aside {
width: 25%; width: 25vw;
height: 100%; height: 100vh;
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;
@ -510,16 +510,17 @@ ul.social {
} }
main { main {
width: 75%; width: 75vw;
height: 100%; height: 100vh;
position: absolute; position: absolute;
top: 0; top: 0;
left: 25%; left: 25vw;
overflow-x: hidden;
article { article {
&.single { &.single {
min-height: 80%; min-height: 80vh;
} }
ul.list { ul.list {

File diff suppressed because one or more lines are too long