Skip to content

Commit 592a857

Browse files
authored
fix(ui5-dynamic-page-title): respect size property changes of the title (#11845)
fix(ui5-dynamic-page-title): respect changes of size property of the title
1 parent 6aa14a1 commit 592a857

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/fiori/src/themes/DynamicPageTitle.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@
5555
margin: var(--_ui5_dynamic_page_title_heading_margin);
5656
}
5757

58-
::slotted([ui5-title][slot="heading"]) {
58+
::slotted([ui5-title][size="H5"][slot="heading"]) {
5959
font-size: var(--sapObjectHeader_Title_FontSize);
6060
}
6161

62-
::slotted([ui5-title][slot="snappedHeading"]),
63-
:host([snapped]) ::slotted([ui5-title][slot="heading"]) {
62+
::slotted([ui5-title][size="H5"][slot="snappedHeading"]),
63+
:host([snapped]) ::slotted([ui5-title][size="H5"][slot="heading"]) {
6464
font-size: var(--sapObjectHeader_Title_SnappedFontSize);
6565
text-overflow: ellipsis;
6666
}

0 commit comments

Comments
 (0)