Skip to content

Commit 1fc3180

Browse files
authoredDec 9, 2020
fix(ui5-tree): make the height of tree adjustable (#2546)
FIXES #2545
1 parent 65cb42f commit 1fc3180

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed
 

‎packages/main/src/Tree.hbs

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
@ui5-item-click="{{_onListItemClick}}"
88
@ui5-item-delete="{{_onListItemDelete}}"
99
@ui5-selection-change="{{_onListSelectionChange}}"
10+
class="ui5-tree-root"
1011
>
1112
<slot name="header" slot="header"></slot>
1213
{{#each _listItems}}

‎packages/main/src/themes/Tree.css

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
@import "./InvisibleTextStyles.css";
22

33
:host(:not([hidden])) {
4-
display: block;
5-
width: 100%;
4+
display: block;
5+
width: 100%;
6+
}
7+
8+
.ui5-tree-root {
9+
height: 100%;
10+
width: 100%;
611
}

0 commit comments

Comments
 (0)
Please sign in to comment.