-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Settings Closing "X" active box misalignment #3434
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
Comments
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already. |
Using Dev Tools I was able to find that the closing "X" has padding on the left and none on the right. Here is a photo example from Dev Tools: ![]() Here is the file and code line the CSS can be adjusted to remove the padding on the left.
Suggested Fix:A suggested fix would be removing the padding to the left of the close button. Below is an example of how the code will be adjusted.
|
Thanks so much @Leah123-d for providing a really thorough dive into this issue and a suggested fix for it! |
Adjusted the CSS to remove the extra left padding on the close button. This ensures that the active box is centered around the 'X' when clicked. - Removed left padding value from the padding property - Verified alignment in both desktop and responsive view
[#3434] Remove left padding on overlay close button
p5.js version
v2.15.9 (editor) v1.11.1 (p5.js file)
What is your operating system?
Mac OS
Web browser and version
133.0.6943.127
Actual Behavior
In Settings, when the closing "X" is clicked, the box that appears around is not centered around the "X".
Expected Behavior
When the closing "X" is clicked, the surrounding box should be center around the closing "X".
Steps to reproduce
Steps:
Bug Preview:
The text was updated successfully, but these errors were encountered: