Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: fix scrolling glitch causing search bar to be partially hidden #80749

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

kartben
Copy link
Collaborator

@kartben kartben commented Nov 1, 2024

With the recent update to Sphinx RTD theme 3.0.0, a 19px-high element that used to display the version number is not visible anymore, so the JS code that hides the upper-left logo when scrolling down needs to be adjusted to account for this change.

Note that readthedocs/sphinx_rtd_theme#1624 might look at re-introducing the version number as it's not clear that the fact it disappeared was fully intentional.

BEFORE the fix

image

AFTER the fix

image

With the recent update to Sphinx RTD theme 3.0.0, a 19px-high element
that used to display the version number is not visible anymore, so the
JS code that hides the upper-left logo when scrolling down needs to be
adjusted to account for this change.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
@kartben kartben added this to the v4.0.0 milestone Nov 1, 2024
@kartben kartben marked this pull request as ready for review November 1, 2024 15:53
@zephyrbot zephyrbot added area: Documentation Infrastructure size: XS A PR changing only a single line of code labels Nov 1, 2024
@kartben kartben added the bug The issue is a bug, or the PR is fixing a bug label Nov 1, 2024
@kartben kartben requested a review from pdgendt November 4, 2024 13:34
@mmahadevan108 mmahadevan108 merged commit 2995eb7 into zephyrproject-rtos:main Nov 5, 2024
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Documentation Infrastructure bug The issue is a bug, or the PR is fixing a bug size: XS A PR changing only a single line of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants