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

Merged
merged 2 commits into from
Apr 30, 2025

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.

Copy link

@Corepex Corepex self-assigned this Apr 25, 2025
@Corepex Corepex requested a review from markus-moser April 25, 2025 07:44
@markus-moser
Copy link
Contributor

Doesn't look anymore like in the design. But it's better then a broken one. Let's merge it, but maybe we need to adjust it again.

@markus-moser markus-moser merged commit f72f909 into 1.x Apr 30, 2025
1 check passed
@markus-moser markus-moser deleted the 1400-data-object-tree-unpublished-icon-is-cropped branch April 30, 2025 08:10
@github-actions github-actions bot locked and limited conversation to collaborators Apr 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Data Object Tree] Unpublished icon is cropped
2 participants