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

playground code blocks have double scoll bars #12572

Open
JustinWebDev opened this issue Feb 1, 2025 · 3 comments
Open

playground code blocks have double scoll bars #12572

JustinWebDev opened this issue Feb 1, 2025 · 3 comments
Labels
layout Issues related to alignment, positioning and spacing/margin/padding p2 We want to address this but may have other higher priority items. plus:playground regression

Comments

@JustinWebDev
Copy link

MDN URL

https://developer.mozilla.org/en-US/play

What specific section or headline is this issue about?

No response

What information was incorrect, unhelpful, or incomplete?

When a code block has overflowed text, a second vertical scroll bar appear; the original one never becomes active.
I see this in Firefox.

Image

What did you expect to see?

Only one vertical scroll bar.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@JustinWebDev JustinWebDev added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Feb 1, 2025
@Josh-Cena Josh-Cena removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Feb 2, 2025
@wbamberg wbamberg transferred this issue from mdn/content Feb 5, 2025
@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Feb 5, 2025
@caugner
Copy link
Contributor

caugner commented Feb 5, 2025

Reproducible with this Playground on Firefox. It looks like there is a scrollbar both on the <play-editor> itself, and the <div class="editor"> inside it.

@caugner caugner added p2 We want to address this but may have other higher priority items. layout Issues related to alignment, positioning and spacing/margin/padding plus:playground regression and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Feb 5, 2025
@caugner
Copy link
Contributor

caugner commented Feb 5, 2025

@JustinWebDev Would you be interested in opening a PR? It might be sufficient to remove this overflow-y: scroll here:

overflow-y: scroll;

@JustinWebDev
Copy link
Author

Sure @caugner how do I open a PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
layout Issues related to alignment, positioning and spacing/margin/padding p2 We want to address this but may have other higher priority items. plus:playground regression
Projects
None yet
Development

No branches or pull requests

3 participants