mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +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 */
|
/* 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;
|
margin-left: $ibo-button--label--margin-left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
<button id="{{ oUIBlock.GetId() }}"
|
<button id="{{ oUIBlock.GetId() }}"
|
||||||
class="ibo-button ibo-is-{{ oUIBlock.GetActionType() }} ibo-is-{{ oUIBlock.GetColor() }} {{ oUIBlock.GetAdditionalCSSClass() }}"
|
class="ibo-button ibo-is-{{ oUIBlock.GetActionType() }} ibo-is-{{ oUIBlock.GetColor() }} {{ oUIBlock.GetAdditionalCSSClass() }}"
|
||||||
|
data-role="ibo-button"
|
||||||
type="{{ oUIBlock.GetType() }}"
|
type="{{ oUIBlock.GetType() }}"
|
||||||
name="{{ oUIBlock.GetName() }}"
|
name="{{ oUIBlock.GetName() }}"
|
||||||
value="{{ oUIBlock.GetValue() }}"
|
value="{{ oUIBlock.GetValue() }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user