Skip to content

Commit

Permalink
fix(ui5-button): align buttons with and without icons on same line (#796
Browse files Browse the repository at this point in the history
)

FIXES: #795
  • Loading branch information
MapTo0 authored Sep 27, 2019
1 parent 6d34b50 commit 8420492
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/main/src/themes/Button.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@

.ui5-button-root .ui5-button-icon {
font-size: var(--_ui5_button_base_icon_only_font_size);
height: 0;
top: -.5rem;
position: relative;
color: inherit;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@
<br />
<br />

<div>
<ui5-togglebutton design="Positive" icon="sap-icon://add"></ui5-togglebutton>
<ui5-togglebutton design="Negative"></ui5-togglebutton>
</div>

<br />
<br />

<ui5-input id="press-counter"></ui5-input>
<ui5-input id="click-counter"></ui5-input>

Expand Down

0 comments on commit 8420492

Please sign in to comment.