python / python-docs-theme

Sphinx theme for Python documentation
Other
76 stars 59 forks source link

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

Closed ynaveenkmr closed 1 year ago

ynaveenkmr commented 1 year ago

Hi team i founded on bug, Please check attached screenshot which I highlighted in it looks some text is missing it might be the alignment issue. Alignment Issue in this page :- https://docs.python.org/3/tutorial/interpreter.html

Thanks & regards Naveen ynaveenkmr@gmail.com

carljm commented 1 year ago

I can reproduce this in Firefox 107.0.1, if I resize the browser window to a sufficiently narrow width that the left-side menu disappears.

CAM-Gerlach commented 1 year ago

Thanks for the report. I've confirmed it on the same version of Firefox; it occurs at the max-width: 1023px breakpoint and below, due to what appears to be a (deliberate???) margin-top: -2em in the footer element.

This is presumably an issue with the https://github.com/python/python-docs-theme/ stylesheet; Could @JulienPalard (or someone else who has at least Write permissions both here and there, which you need to transfer issues) transfer this issue there? Thanks!

hugovk commented 1 year ago

Please see PR https://github.com/python/python-docs-theme/pull/106 to only apply margin-top: -2em for desktop (1024+ pixels).