Skip to content

Commit d7c2dae

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]> (cherry picked from commit cbc8be2) Signed-off-by: HyukjinKwon <[email protected]>
1 parent 6b7172b commit d7c2dae

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
@@ -79,6 +79,7 @@ body .container-wrapper {
7979
margin-right: auto;
8080
border-radius: 15px;
8181
position: relative;
82+
min-height: 100vh;
8283
}
8384

8485
.title {
@@ -159,6 +160,7 @@ a:hover code {
159160
max-width: 914px;
160161
line-height: 1.6; /* Inspired by Github's wiki style */
161162
padding-left: 30px;
163+
min-height: 100vh;
162164
}
163165

164166
.dropdown-menu {
@@ -239,6 +241,7 @@ a.anchorjs-link:hover { text-decoration: none; }
239241
border-bottom-width: 0px;
240242
margin-top: 0px;
241243
width: 210px;
244+
height: 80%;
242245
float: left;
243246
position: fixed;
244247
overflow-y: scroll;

0 commit comments

Comments
 (0)