-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Why there is extra space under each page? #3329
-
It looks a bit strange to me. Every page has. Can I know why it is there?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 3 replies
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
-
@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
.
Beta Was this translation helpful? Give feedback.
All reactions
-
ohhh, I see I see. Maybe I will just wait for more time for this to be figured out by more ppl 😂 .
Beta Was this translation helpful? Give feedback.