Skip to content

Commit 11af57e

Browse files
authored
fix(ui5-tabcontainer): remove scroll from empty tabs (#2148)
1 parent 13c1ac5 commit 11af57e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/main/src/themes/Tab.css

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
:host {
22
display: inline-block;
33
width: 100%;
4-
height: 100%;
54
}
65

76
.ui5-tab-root {

packages/main/src/themes/TabContainer.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,12 @@
107107
}
108108

109109
.ui5-tc__contentItem {
110-
height: 100%;
110+
max-height: 100%;
111+
display: flex;
111112
overflow: auto;
112113
}
113114

114-
.ui5-tc__contentItem--hidden {
115+
.ui5-tc__contentItem[hidden] {
115116
display: none;
116117
}
117118

0 commit comments

Comments
 (0)