Skip to content

Commit 546b6ee

Browse files
authored
Merge pull request #268 from filecoin-project/fix/239
fix: sidebar menu crop in ff
2 parents 7647d55 + a91be08 commit 546b6ee

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/.vuepress/theme/styles/sidebar.styl

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,17 @@ html.route-index {
8080
aside.sidebar {
8181
display: flex;
8282
flex-direction: column;
83-
height: 100vh;
8483
overflow: hidden;
84+
box-sizing: border-box;
8585

8686
> .sidebar-links {
8787
padding: 1rem 0;
88+
box-sizing: border-box;
89+
flex-grow: 1;
90+
91+
> li:last-child {
92+
margin-bottom: 1rem;
93+
}
8894

8995
a {
9096
&.active {
@@ -104,7 +110,6 @@ html.route-index {
104110
}
105111

106112
overflow: auto;
107-
padding-bottom: 6em;
108113
}
109114

110115
.nav-links, .nav-links a {

0 commit comments

Comments
 (0)