Skip to content

Commit

Permalink
BUGFIX: Show full labels in nodetrees if possible
Browse files Browse the repository at this point in the history
Previously labels were cut even if there would have been
enough space due to the constraint to 264px.
Also since 8.3 the trees can be resized and the labels
didn’t adjust to the increased width.
Now they will use the available width.
  • Loading branch information
Sebobo committed Nov 8, 2023
1 parent 6430537 commit b4dfa07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-ui-components/src/Tree/node.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
composes: reset from '../reset.module.css';
position: relative;
display: inline-block;
min-width: 100%;
width: 100%;
padding: .1em 0;

border-left: 2px solid transparent;
Expand Down Expand Up @@ -89,7 +89,7 @@
}

.header__labelWrapper {
max-width: 264px;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
Expand Down

0 comments on commit b4dfa07

Please sign in to comment.