Compact Style Button using SAP UI5 #7255
Unanswered
abhaymudgil
asked this question in
Q&A
Replies: 1 comment
-
@abhaymudgil could you add more details how are using the UI5 Web Components. You mentioned "the handlebars file", so I assume you are developing a web component?
Nevertheless, <--! your Component.hbs -->
<div id="root" class="ui5-content-density-compact" >
<ui5-button></ui5-button
....
</div There is no other API as of now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to make buttons compact but I cannot do so by adding class="ui5-content-density-compact" in body tag of index.html file as my client does not have access to the index.html file. What should be the best way to do in hbs(handlebars) file? What code should I add in my hbs file so that all SAP UI5 components become compact in style and not cozy any longer?
Beta Was this translation helpful? Give feedback.
All reactions