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

Fix: Correct hidden attribute for swap image #129

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MarsonKotovi4
Copy link

What was done:

  • Fixed an issue with the use of the hidden attribute on the <img> element. Now, the display: none style is used to properly hide the image.

Why this is important:

  • The hidden attribute doesn't always work as expected and can cause display issues in various browsers.
  • Replacing it with display: none ensures more stable and predictable behavior of the element.

Testing:

  • Verified that the image correctly hides and shows based on the condition.
  • Ensured that there were no side effects on the layout.

Copy link

vercel bot commented Nov 17, 2024

@MarsonKotovi4 is attempting to deploy a commit to the Eclipse Labs Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant