Skip to content

Commit bfb57d2

Browse files
committed
enhancement: Add text truncation and right padding to Portal TreeList items (#8508)
1 parent 9e9bbf8 commit bfb57d2

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

resources/scss/src/apps/portal/shared/content/TreeList.scss

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,25 @@
6969
display : flex;
7070
align-items : center;
7171
margin-bottom : 3px;
72+
73+
.neo-list-item-content {
74+
flex : 1;
75+
min-width : 0;
76+
overflow : hidden;
77+
text-overflow : ellipsis;
78+
white-space : nowrap;
79+
}
7280
}
7381

7482
.neo-list-container ul {
7583
padding: 0 !important;
7684

7785
.neo-list-item {
78-
padding: 0 0 3px 32px !important;
86+
padding: 0 3px 3px 32px !important;
7987
}
8088

8189
ul .neo-list-item {
82-
padding: 0 0 0 48px !important;
90+
padding: 0 3px 0 48px !important;
8391
}
8492
}
8593

0 commit comments

Comments
 (0)