Skip to content

Commit 1bc8a1b

Browse files
committed
Merge remote-tracking branch 'origin/MC-14939' into 2.2.8-develop-pr79
2 parents 47d99ee + 6404095 commit 1bc8a1b

File tree

2 files changed

+5
-2
lines changed
  • app
    • code/Magento/Ui/view/base/web/templates/form
    • design/adminhtml/Magento/backend/web/css/source/forms

2 files changed

+5
-2
lines changed

app/code/Magento/Ui/view/base/web/templates/form/field.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
visible="visible"
99
css="$data.additionalClasses"
1010
attr="'data-index': index">
11-
<div class="admin__field-label">
11+
<div class="admin__field-label" if="$data.label" visible="$data.labelVisible">
1212
<label if="$data.label" visible="$data.labelVisible" attr="for: uid">
1313
<span translate="label" attr="'data-config-scope': $data.scopeLabel" />
1414
</label>

app/design/adminhtml/Magento/backend/web/css/source/forms/_fields.less

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,10 +678,13 @@
678678
margin: 0;
679679
opacity: 1;
680680
position: static;
681-
text-align: left;
682681
}
683682
}
684683

684+
.admin__field-label {
685+
text-align: left;
686+
}
687+
685688
&:nth-child(n + 2) {
686689
&:not(.admin__field-option):not(.admin__field-group-show-label):not(.admin__field-date) {
687690
> .admin__field-label[class] {

0 commit comments

Comments
 (0)