Skip to content

Commit

Permalink
allow shrinking note title text in the tree to make space for the "ad…
Browse files Browse the repository at this point in the history
…d note" button #4287
  • Loading branch information
zadam committed Sep 25, 2023
1 parent 613b83e commit 3e8f09d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/public/stylesheets/tree.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ span.fancytree-node.fancytree-hide {
}

.fancytree-title {
flex: auto;
flex-basis: 0; /* to allow shrinking text to make space for buttons */
flex-shrink: 1;
flex-grow: 1;
overflow: hidden;
margin-left: 7px;
outline: none;
position: relative;
Expand Down

0 comments on commit 3e8f09d

Please sign in to comment.