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

Fix sidebar buttons on mobile #68

Merged
merged 2 commits into from
Sep 29, 2022
Merged

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented Sep 29, 2022

Disable the right button since we have no sidebar there.

Then simplify our theme override so that we get all of the stuff from the theme, i.e., the search, sidebar, and scripts, without having to copy them ourselves.

This also removes the right icon on the mobile page.
This means we don't have to copy the search, sidebar, or scripts into
our block. It does mean tweaking our CSS rules slightly to override the
class that the theme is using instead of the HTML element.

Fixes matplotlib#67
@timhoffm timhoffm merged commit b43b257 into matplotlib:main Sep 29, 2022
@QuLogic QuLogic deleted the fix-mobile branch September 29, 2022 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants