-
Notifications
You must be signed in to change notification settings - Fork 96
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
Accidental blur effect on BLUR reference page #650
Comments
Each page on the site has a class name applied here: p5.js-website/src/layouts/BaseLayout.astro Lines 65 to 68 in fe363ad
Normally this doesn't produce any conflicts, like how the Maybe on this page, the class name could be renamed to Also, I'm not sure if there's any other naming conflicts on other reference pages. |
It's probably a good idea overall to do some namespacing to these title classes since they've caused some issues in the past too. Maybe in ReferenceLayout we can do something like: titleClass={`reference_${title.toLowerCase()}`} ...so we have |
Hello @wong-justin ! Great catch. The above suggestion also makes a lot of sense to me, that the classes in the reference should all have a prefix, like |
fixes processing#650 before: blur reference page would have .blur CSS style applied after: blur reference page has .reference_blur class name, so there are no more collisions with CSS styles hopefully this doesn't have any unintended side effects
Most appropriate sections of the p5.js website?
Reference
What is your operating system?
Windows 10
Web browser and version
Chromium v122.0, Firefox v133.0
Actual Behavior
When visiting https://p5js.org/reference/p5/BLUR/, the whole page is blurred because of a
.blur
class applied to the<html>
tag.Expected Behavior
The page should be unblurred like all the other pages at p5js.org:
Steps to reproduce
Would you like to work on the issue?
Maybe?
The text was updated successfully, but these errors were encountered: