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

Fix mobile nav obstructing content#96

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
pradyunsg merged 1 commit intopython:mainfromphilg314:nav-margin
Feb 13, 2023

Conversation

philg314
Copy link
Contributor

Instead of adding the height of.mobile-nav at the top of.document it is now added at the top ofbody.

Closes#95

@hugovk
Copy link
Member

(Rebased onmain to retrigger the CI and create an RTD build preview:https://python-docs-theme-previews--96.org.readthedocs.build/en/96/)

Copy link
Member

@hugovkhugovk left a comment

Choose a reason for hiding this comment

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

Testing locally with the banner enabled on the3.8 branch:

diff --git a/Doc/tools/templates/layout.html b/Doc/tools/templates/layout.htmlindex 98ccf42248..0151a00593 100644--- a/Doc/tools/templates/layout.html+++ b/Doc/tools/templates/layout.html@@ -1,13 +1,11 @@ {% extends "!layout.html" %}  {% block header %}-{%- if outdated %} <div>     {% trans %}This document is for an old version of Python that is no longer supported.     You should upgrade, and read the {% endtrans %}     <a href="/3/{{ pagename }}{{ file_suffix }}">{% trans %} Python documentation for the current stable release{% endtrans %}</a>. </div>-{%- endif %} {% endblock %}  {% block rootrellink %}

Before

After

@pradyunsgpradyunsg merged commit8e007f6 intopython:mainFeb 13, 2023
@pradyunsg
Copy link
Member

Thanks for the screenshots on this@hugovk! ^.^

hugovk reacted with thumbs up emoji

@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

@hugovkhugovkhugovk approved these changes

@pradyunsgpradyunsgpradyunsg approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Documentation with responsive theme (3.8+) will hide "not supported" banner behind navbar for mobile layouts
3 participants
@philg314@hugovk@pradyunsg

[8]ページ先頭

©2009-2025 Movatter.jp