Movatterモバイル変換


[0]ホーム

URL:


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

Reduce footer margin only for desktop#106

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
hugovk merged 1 commit intopython:mainfromhugovk:fix-footer
Feb 16, 2023
Merged

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/

@@ -522,3 +521,9 @@ dl > dt span ~ em {
overflow-x: auto;
}
}

@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

ezio-melotti reacted with thumbs up emoji
@hugovkhugovk merged commitb84c913 intopython:mainFeb 16, 2023
@hugovkhugovk deleted the fix-footer branchFebruary 16, 2023 11:42
@hugovkhugovk mentioned this pull requestMar 6, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ezio-melottiezio-melottiezio-melotti left review comments

@pradyunsgpradyunsgpradyunsg approved these changes

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
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

[8]ページ先頭

©2009-2025 Movatter.jp