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

Display geneUI on Row Hover Instead of geneSymbol Hover #4954

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

GarvitDadheech
Copy link

@GarvitDadheech GarvitDadheech commented Jul 30, 2024

Solving issue #10762

Summary

This PR modifies the behavior of the geneUI component, ensuring it is displayed only when hovering over the entire row (.row) rather than just the geneSymbol element. This change enhances the user experience by making the geneUI visibility consistent across the entire row.

Changes Made

  1. CSS Adjustments:

    • Moved the hover effect for displaying .addGeneUI from .geneSymbol:hover to .row:hover.
    • Removed the previous hover effect on .geneSymbol that controlled the visibility of .addGeneUI.
  2. Updated Selectors:

    • Applied the %addGeneUIHover mixin to .addGeneUI within the .row:hover context.

Issue Resolution

The issue was resolved by ensuring the geneUI component becomes visible only when hovering over the .row element, rather than when hovering over the .geneSymbol element. This change required adjusting the CSS selectors and hover states to target the entire row.

Related Issue

Link to related issue

Testing and Verification

  • Verified that the geneUI appears when hovering over any part of the row and not just the geneSymbol.
  • Confirmed that the geneUI maintains proper styling and functionality when hovered and selected.

Please review the changes and let me know if any further adjustments are needed.

Copy link

netlify bot commented Jul 30, 2024

Deploy Preview for cbioportalfrontend ready!

Name Link
🔨 Latest commit 4da92c1
🔍 Latest deploy log https://app.netlify.com/sites/cbioportalfrontend/deploys/66a87a8709f297000872a959
😎 Deploy Preview https://deploy-preview-4954--cbioportalfrontend.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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