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

4th level of tree nesting is misaligned with the parent #1321

Open
mpotomin opened this issue Mar 19, 2020 · 3 comments
Open

4th level of tree nesting is misaligned with the parent #1321

mpotomin opened this issue Mar 19, 2020 · 3 comments
Labels

Comments

@mpotomin
Copy link
Contributor

The items on the 4th level of nesting are not aligned vertically with the parent's label. See example for the tree "With freeze":

http://operational-ui.netlify.com/#/Components/Tree

Screenshot 2020-03-19 at 09 07 57

@mpotomin mpotomin added the bug label Mar 19, 2020
@stereobooster
Copy link
Contributor

Also we can change style of freeze tree like this:

Screenshot 2020-03-19 at 09 37 28

@rimildeyjsr
Copy link
Contributor

@stereobooster @mpotomin - Hey! can I work on this?

@mpotomin
Copy link
Contributor Author

@rimildeyjsr Sure, it's yours! Good luck with it 💪

rimildeyjsr pushed a commit to rimildeyjsr/operational-ui that referenced this issue Aug 1, 2020
Remove hasIconOffset property to fix the extra padding for trees with no children, removes misalignment
Use <Example/> instead of <Example> to fix the warning in the code example

Fixes contiamo#1321
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants