Skip to content

Commit cbc8be2

Browse files
liucht-inspurHyukjinKwon
authored andcommitted
[SPARK-33422][DOC] Fix the correct display of left menu item
### What changes were proposed in this pull request? Limit the height of the menu area on the left to display vertical scroll bar ### Why are the changes needed? The bottom menu item cannot be displayed when the left menu tree is long ### Does this PR introduce any user-facing change? Yes, if the menu item shows more, you'll see it by pulling down the vertical scroll bar before: ![image](https://user-images.githubusercontent.com/28332082/98805115-16995d80-2452-11eb-933a-3b72c14bea78.png) after: ![image](https://user-images.githubusercontent.com/28332082/98805418-7e4fa880-2452-11eb-9a9b-8d265078297c.png) ### How was this patch tested? NA Closes #30335 from liucht-inspur/master. Authored-by: liucht <[email protected]> Signed-off-by: HyukjinKwon <[email protected]>
1 parent 870d409 commit cbc8be2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/css/main.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ body .container-wrapper {
162162
margin-right: auto;
163163
border-radius: 15px;
164164
position: relative;
165+
min-height: 100vh;
165166
}
166167

167168
.title {
@@ -264,6 +265,7 @@ a:hover code {
264265
max-width: 914px;
265266
line-height: 1.6; /* Inspired by Github's wiki style */
266267
padding-left: 30px;
268+
min-height: 100vh;
267269
}
268270

269271
.dropdown-menu {
@@ -325,6 +327,7 @@ a.anchorjs-link:hover { text-decoration: none; }
325327
border-bottom-width: 0px;
326328
margin-top: 0px;
327329
width: 210px;
330+
height: 80%;
328331
float: left;
329332
position: fixed;
330333
overflow-y: scroll;

0 commit comments

Comments
 (0)