N°2847 - Button: Fix icon right margin and missing data role in markup

This commit is contained in:
Molkobain
2020-11-19 17:41:57 +01:00
parent c6506c9f13
commit b12dadb0dc
2 changed files with 2 additions and 1 deletions

View File

@@ -404,7 +404,7 @@ $ibo-button-colors: (
}
/* Only when a button has both an icon and a label */
.ibo-button-icon + .ibo-button-label {
.ibo-button--icon + .ibo-button--label {
margin-left: $ibo-button--label--margin-left;
}

View File

@@ -1,5 +1,6 @@
<button id="{{ oUIBlock.GetId() }}"
class="ibo-button ibo-is-{{ oUIBlock.GetActionType() }} ibo-is-{{ oUIBlock.GetColor() }} {{ oUIBlock.GetAdditionalCSSClass() }}"
data-role="ibo-button"
type="{{ oUIBlock.GetType() }}"
name="{{ oUIBlock.GetName() }}"
value="{{ oUIBlock.GetValue() }}"