Skip to content

Commit 9379f5a

Browse files
fix(DynamicPage/ObjectPage): increase header z-index (#6116)
Prevents that parts of some Web Components (e.g. `Slider`) are shining through the header content Fixes #6107
1 parent a2e1138 commit 9379f5a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/main/src/components/DynamicPage/DynamicPage.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
position: sticky;
5252
box-shadow: var(--sapContent_HeaderShadow);
5353
height: 1px;
54-
z-index: 2;
54+
z-index: 3;
5555

5656
> section[data-component-name='DynamicPageAnchorBar'] {
5757
inset-block-start: 0;

packages/main/src/components/DynamicPageTitle/DynamicPageTitle.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
justify-content: space-between;
1010
position: sticky;
1111
inset-block-start: 0;
12-
z-index: 2;
12+
z-index: 3;
1313
cursor: pointer;
1414

1515
&[data-not-clickable='true'] {

packages/main/src/components/ObjectPage/ObjectPage.module.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
background-color: var(--sapObjectHeader_Background);
4040
position: sticky;
4141
inset-block-start: 0;
42-
z-index: 2;
42+
z-index: 4;
4343
cursor: pointer;
4444

4545
[data-component-name='DynamicPageTitle'] {
@@ -93,12 +93,12 @@
9393

9494
.anchorBar {
9595
position: sticky;
96-
z-index: 2;
96+
z-index: 4;
9797
}
9898

9999
.tabContainer {
100100
position: sticky;
101-
z-index: 1;
101+
z-index: 3;
102102
}
103103

104104
.tabContainerComponent {

0 commit comments

Comments
 (0)