Ensure proper division scaling on small screens

pull/10616/head
Alex P 2018-05-07 16:42:50 -07:00 committed by Andrew Watkins
parent 5b69635d75
commit dbd219d72b
1 changed files with 11 additions and 1 deletions

View File

@ -169,5 +169,15 @@ $threesizer-shadow-stop: fade-out($g0-obsidian, 1);
}
.threesizer--body {
flex: 1 0 0;
.horizontal > &:only-child {
width: 100%;
}
.vertical > &:only-child {
height: 100%;
}
.threesizer--header + & {
flex: 1 0 0;
}
}