Skip to content

CSS: Prevent back-to-top button from being cropped on mobile - #2440

Closed
Ninetailedcatfox wants to merge 1 commit into
pydata:mainfrom
Ninetailedcatfox:fix-back-to-top-crop
Closed

CSS: Prevent back-to-top button from being cropped on mobile#2440
Ninetailedcatfox wants to merge 1 commit into
pydata:mainfrom
Ninetailedcatfox:fix-back-to-top-crop

Conversation

@Ninetailedcatfox

Copy link
Copy Markdown

Add overflow: visible to the #pst-back-to-top button to prevent it from being cropped on mobile browsers with button navigation.

Closes #2411

@Yann-P

Yann-P commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

About

+  overflow: visible;

Sorry, but this does not seem to be the issue. The button is half outside of the browser and the display attribute cannot change this.

I added additional context in the issue that may help.

I did not dig the code but it looks like the position is controlled by javascript at every scroll event

@Yann-P

Yann-P commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

#2442

@Yann-P Yann-P closed this Jul 29, 2026
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.

Back to top button is cropped on mobile

2 participants