Show fold arrow to hide multiline content
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2021-08-11 22:16:59 +02:00
parent 1e7924ef61
commit 27bc12146c

View File

@ -125,10 +125,18 @@ body {
cursor: pointer; cursor: pointer;
} }
// enable to close multi line content
.list-item:not(.open) .content {
height: 1em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.list-item.no-children:hover .fold, .list-item.no-children:hover .fold,
.list-item.no-children.editor .fold, .list-item.no-children.editor .fold,
.list-item.no-children .fold { .list-item.no-children .fold {
visibility: hidden; //visibility: hidden;
} }
.list-item.no-children.fold { .list-item.no-children.fold {
@ -471,6 +479,9 @@ textarea {
.selected { .selected {
background: lightblue; background: lightblue;
} }
.fold.closed + .marker {
border-color: lightblue;
}
.selected .marker { .selected .marker {
border-color: lightblue; border-color: lightblue;
} }