Make sticky sidebar live well with short content (#2514)

This commit is contained in:
iBug ♦
2020-06-03 10:17:31 +08:00
committed by GitHub
parent cf398b07ab
commit a3d1d904d5
3 changed files with 14 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
/* calculate height of nav list
viewport height - nav height - masthead x-padding
*/
height: calc(100vh - #{$nav-height} - 2em);
max-height: calc(100vh - #{$nav-height} - 2em);
}
}