Skip to content

Fixed subicon style in tree #1411

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

Open
wants to merge 2 commits into
base: 1.x
Choose a base branch
from

Conversation

Corepex
Copy link
Contributor

@Corepex Corepex commented Apr 24, 2025

Changes in this pull request

Resolves #1400

Additional info

This pull request updates the styling of the subIcon component in the icon.styles.ts file to improve its positioning and layering. The key changes involve adjustments to the z-index, position, and dimensions of the subIcon.

Styling updates for subIcon:

  • Changed the z-index to 100 to ensure the subIcon appears above other elements.
  • Updated positioning by replacing left: -5px and top: 50% with bottom: 0 and left: 0, and removed the vertical centering transform (transform: translateY(-50%)).
  • Set width and height of the svg inside subIcon to inherit the dimensions of the parent element.

@Corepex Corepex self-assigned this Apr 25, 2025
@Corepex Corepex requested a review from markus-moser April 25, 2025 07:44
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.

[Data Object Tree] Unpublished icon is cropped
1 participant