Skip to content

[SPARK-33422][DOC] Fix the correct display of left menu item #30335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ body .container-wrapper {
margin-right: auto;
border-radius: 15px;
position: relative;
min-height: 100vh;
}

.title {
Expand Down Expand Up @@ -264,6 +265,7 @@ a:hover code {
max-width: 914px;
line-height: 1.6; /* Inspired by Github's wiki style */
padding-left: 30px;
min-height: 100vh;
}

.dropdown-menu {
Expand Down Expand Up @@ -325,6 +327,7 @@ a.anchorjs-link:hover { text-decoration: none; }
border-bottom-width: 0px;
margin-top: 0px;
width: 210px;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're here, shall we batch left-menu.width to 210 px too? That makes the subtitles look truncated. I don't know why we made that longer specifically (https://github.com/apache/spark/pull/25459/files#r521829348).

And, actually we should make the width itself more wider. I would suggest to make it 280px. cc @gatorsmile and @dilipbiswal

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @HyukjinKwon As I modified, the horizontal scrollbar can be displayed and used after setting the height to 80%
after:
image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does that sound @HyukjinKwon

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's fine. Can be separately done. but I think we should still fix #30335 (comment).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok,Thanks @HyukjinKwon and @srowen , I will submit the code separately as a fix for the next issues.

height: 80%;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it wouldn't work properly when the side bar is folded:

Before:

Screen Shot 2020-11-12 at 1 24 49 PM

After:

Screen Shot 2020-11-12 at 1 24 53 PM

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also the end of bat does not seem matching:
Screen Shot 2020-11-12 at 1 26 30 PM

float: left;
position: fixed;
overflow-y: scroll;
Expand Down