Fix inconsistent sidebar sizing due to scrollbars with viewport units for desktop only (#182)
This commit is contained in:
parent
56ff304672
commit
37b42ff61f
2 changed files with 8 additions and 7 deletions
|
@ -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 {
|
||||||
|
|
2
static/stylesheet/style.min.css
vendored
2
static/stylesheet/style.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue