Skip to content

Commit 8cd2a8b

Browse files
authored
fix(ui5-tabcontainer): fix overflow items appearance and selection (#988)
- The icon is in the correct color for positive, negative and critical items. - Pressing over the icon now works - it performs selection
1 parent 6fcf259 commit 8cd2a8b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

packages/main/src/themes/TabContainer.css

+15
Original file line numberDiff line numberDiff line change
@@ -214,11 +214,16 @@
214214
color: var(--_ui5_tc_overflowItem_default_color);
215215
}
216216

217+
.ui5-tc__overflowItem[active] .ui5-tc__overflowItemContent {
218+
color: var(--sapUiListActiveTextColor);
219+
}
220+
217221
.ui5-tc__overflowItemContent {
218222
display: flex;
219223
align-items: center;
220224
padding: 0 0.5rem;
221225
height: 3rem;
226+
pointer-events: none;
222227
}
223228

224229
.ui5-tc__overflowItem ui5-icon {
@@ -227,6 +232,16 @@
227232
padding-right: 1rem;
228233
}
229234

235+
.ui5-tc__overflowItem ui5-icon {
236+
color: var(--sapUiNeutralText);
237+
}
238+
239+
.ui5-tc__overflowItem--positive ui5-icon,
240+
.ui5-tc__overflowItem--negative ui5-icon,
241+
.ui5-tc__overflowItem--critical ui5-icon {
242+
color: currentColor;
243+
}
244+
230245
.ui5-tc__content {
231246
background-color: var(--sapUiGroupContentBackground);
232247
border-bottom: var(--_ui5_tc_content_border_bottom);

0 commit comments

Comments
 (0)