Skip to content

Correctly hide download buttons#1131

Merged
larsoner merged 1 commit intosphinx-gallery:masterfrom
timhoffm:patch-1
Apr 15, 2023
Merged

Correctly hide download buttons#1131
larsoner merged 1 commit intosphinx-gallery:masterfrom
timhoffm:patch-1

Conversation

@timhoffm
Copy link
Copy Markdown
Contributor

visibility:hidden; height: 0px still keeps margins, creating a large amount of whitespace. display: none is the correct way to remove an HTML element completely.

`visibility:hidden; height: 0px` still keeps margins, creating a large 
amount of whitespace. `display: none` is the correct way to remove an
HTML element completely.
Copy link
Copy Markdown
Contributor

@larsoner larsoner left a comment

Choose a reason for hiding this comment

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

Failures are unrelated, thanks for the fix!

@larsoner larsoner merged commit 8060442 into sphinx-gallery:master Apr 15, 2023
@timhoffm timhoffm deleted the patch-1 branch November 1, 2025 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants