Skip to content

Conversation

@hugovk
Copy link
Member

Fixes#100.

The margin above the footer is currently reduced by 2em.

Desktop

This makes sense for desktop widths (1024+ pixels). With the reduction:

Screenshotimage

If it was removed for desktop there's a bigger gap between the "Quick search" box and the copyright line:

Screenshotimage

Mobile

But on mobile (< 1024 pixels), it hides the copyright line:

Screenshotimage

So let's remove this margin only for desktops:

Screenshotimage

Demo build

https://hugovk-python-docs-theme.readthedocs.io/en/fix-footer-demo/

@hugovk
Copy link
MemberAuthor

Rebased on main to check the RTD deploy preview (#70 / #105)... success! ✅

https://python-docs-theme-previews--106.org.readthedocs.build/en/106/

}
}

@media (min-width:1024px){
Copy link
Member

Choose a reason for hiding this comment

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

Have you tested this in landscape mode (assuming that's supported)?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Here's a narrow landscape mode (iPhone SE):

image

And a wide landscape mode (iPad Air):

image

@hugovkhugovk merged commit b84c913 into python:mainFeb 16, 2023
@hugovkhugovk deleted the fix-footer branch February 16, 2023 11:42
@hugovkhugovk mentioned this pull request Mar 6, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Footer nav and copyright text not visible at low viewport widths in docs

3 participants

@hugovk@pradyunsg@ezio-melotti