Skip to content

Commit

Permalink
feat(ui5-illustrated-message): add subtitle css part (#8088)
Browse files Browse the repository at this point in the history
  • Loading branch information
dobrinyonkov committed Jan 11, 2024
1 parent 43f6cc6 commit 351e570
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fiori/src/IllustratedMessage.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{{/if}}

{{#if hasSubtitle}}
<div class="ui5-illustrated-message-subtitle">
<div part="subtitle" class="ui5-illustrated-message-subtitle">
{{#if hasFormattedSubtitle}}
<slot name="subtitle"></slot>
{{else}}
Expand Down
2 changes: 2 additions & 0 deletions packages/fiori/src/IllustratedMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ import IllustratedMessageTemplate from "./generated/templates/IllustratedMessage
*
* <code>import "@ui5/webcomponents-fiori/dist/IllustratedMessage.js";</code>
*
* @csspart subtitle - Used to style the subtitle wrapper of the <code>ui5-illustrated-message</code>
*
* @constructor
* @extends UI5Element
* @public
Expand Down

0 comments on commit 351e570

Please sign in to comment.