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

AnnotatedCode component scrolls in Chrome #709

Closed
davepagurek opened this issue Feb 27, 2025 · 2 comments
Closed

AnnotatedCode component scrolls in Chrome #709

davepagurek opened this issue Feb 27, 2025 · 2 comments
Assignees
Labels
Bug Something isn't working

Comments

@davepagurek
Copy link
Collaborator

Most appropriate sections of the p5.js website?

Tutorials

What is your operating system?

Mac OS

Web browser and version

Chrome

Actual Behavior

When the right side of a section of AnnotatedCode is smaller than the left side with the code, the code scrolls. This appears in Chrome but not Firefox, and can be seen in Intro to Shaders in the section on varying variables: https://p5js.org/tutorials/intro-to-shaders/

Image

Expected Behavior

The code cell should expand to fit the code and not scroll

Steps to reproduce

No response

Would you like to work on the issue?

Someone else can take this on if you're interested!

@davepagurek davepagurek added the Bug Something isn't working label Feb 27, 2025
@webermayank
Copy link
Contributor

Hi @davepagurek
I am interested in taking this issue, and would like to work on this.

@davepagurek
Copy link
Collaborator Author

Thanks @webermayank, I'll assign this to you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants