-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ui5-title): add new "size" property #9327
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also update the playground sample
https://sap.github.io/ui5-webcomponents/components/Title/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our components look good to me.
@@ -20,7 +20,7 @@ | |||
{{#if header.length }} | |||
<slot name="header"></slot> | |||
{{else}} | |||
<h1 id="ui5-popup-header-text" class="ui5-popup-header-text">{{headerText}}</h1> | |||
<ui5-title level="H1" id="ui5-popup-header-text" class="ui5-popup-header-text">{{headerText}}</ui5-title> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you have to describe ui5-title
as dependency of ui5-dialog
The default size of the title is H5. Components, which use ui5-title are adapted.