allow shrinking note title text in the tree to make space for the "add note" button https://github.com/zadam/trilium/discussions/4287

This commit is contained in:
zadam 2023-09-26 00:14:28 +02:00
parent 613b83e638
commit 3e8f09d306

View File

@ -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;