Skip to content

Commit

Permalink
Prevent jumping of menu items on expand
Browse files Browse the repository at this point in the history
  • Loading branch information
jp7677 committed Oct 25, 2023
1 parent ee87453 commit a0d3e48
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/main/resources/assets/css/treeview.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,19 @@ ul.listree {
ul.listree-submenu-items {
list-style: none;
white-space: nowrap;
padding-left: 10px
padding-left: 10px;
}

div.listree-submenu-heading.collapsed:before {
content: "\25B6";
margin-right: 4px
display: inline-block;
min-width: 20px;
}

div.listree-submenu-heading.expanded:before {
content: "\25BC";
margin-right: 4px
display: inline-block;
min-width: 20px;
}

.scrollable-menu {
Expand Down

0 comments on commit a0d3e48

Please sign in to comment.