mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-17 22:39:03 +02:00
N°2847 - Button: Fix icon right margin and missing data role in markup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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() }}"
|
||||
|
||||
Reference in New Issue
Block a user