Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Why there is extra space under each page? #3329

Unanswered
mendax1234 asked this question in Q&A
Discussion options

image

It looks a bit strange to me. Every page has. Can I know why it is there?

You must be logged in to vote

Replies: 1 comment 3 replies

Comment options

If you look the page using developer mode in your web browser that's controlled by the following:

<body style="padding-top: 63px; margin-bottom: 192.125px;">

Which in turn is being set in _main.js as part of making sure the footer stays at the bottom of the page. That's a bit of an older way of doing things, so it might be something that gets switched over to a pure CSS approach in the future.

You must be logged in to vote
3 replies
Comment options

Thanks, so I need to wait for the fix to come? And also I notice that if I change padding-bottom in _base.sass to a smaller number. Seems that the space will become smaller. But I don't know whether it is a safe fix.

Comment options

@mendax1234 I think you are the first person to mention anything about it so odds are it's not going be changed any time soon - plus it might be related to visitor maps in some way since those are rendered at the bottom of the page. Remember that margin-bottom and padding-bottom control slightly different things in CSS so changing padding-bottom doesn't have quite the same effect as changing margin-bottom.

Comment options

ohhh, I see I see. Maybe I will just wait for more time for this to be figured out by more ppl 😂 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /