Skip to content

Commit

Permalink
fix(ui5-dynamic-page): move subheading slot outside the title wrapper (
Browse files Browse the repository at this point in the history
…#10163)

fix(ui5-dynamic-page): move subheading slot outside title wrapper for layout consistency
  • Loading branch information
NakataCode authored Nov 13, 2024
1 parent 614fc77 commit 6466b8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/fiori/src/DynamicPageTitle.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
@ui5-_min-content-width-change={{onMinContentWidthChange}}>
<div id="{{_id}}-heading" class="ui5-dynamic-page-title--heading">
<slot name="{{headingSlotName}}"></slot>
<slot name="{{subheadingSlotName}}"></slot>
</div>

{{#if hasContent}}
Expand All @@ -49,7 +48,7 @@
{{/unless}}
</div>
</div>

<slot name="{{subheadingSlotName}}"></slot>
{{/if}}

<span id="{{_id}}-toggle-description" class="ui5-hidden-text">{{_ariaDescribedbyText}}</span>
Expand Down
1 change: 1 addition & 0 deletions packages/fiori/test/pages/styles/DynamicPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ html, body {
}
.snapped-title-heading [ui5-avatar] {
position: absolute;
top: 0;
}
.snapped-title-heading [ui5-title] {
font-family: var(--sapObjectHeader_Title_FontFamily);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
}
.snapped-title-heading [ui5-avatar] {
position: absolute;
top: 0;
}
.snapped-title-heading [ui5-title] {
font-family: var(--sapObjectHeader_Title_FontFamily);
Expand Down

0 comments on commit 6466b8a

Please sign in to comment.