File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
code/Magento/Ui/view/base/web/templates/form
design/adminhtml/Magento/backend/web/css/source/forms Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 8
8
visible ="visible "
9
9
css ="$data.additionalClasses "
10
10
attr ="'data-index': index ">
11
- < span class ="admin__field-label " if ="$data.label " visible ="$data.labelVisible ">
12
- < label translate ="label " attr ="'data-config-scope': $data.scopeLabel, for: uid " />
13
- </ span >
11
+ < div class ="admin__field-label ">
12
+ < label if ="$data.label " visible ="$data.labelVisible " attr ="for: uid ">
13
+ < span translate ="label " attr ="'data-config-scope': $data.scopeLabel " />
14
+ </ label >
15
+ </ div >
14
16
< div class ="admin__field-control "
15
17
css ="'_with-tooltip': $data.tooltip, '_with-reset': $data.showFallbackReset && $data.isDifferedFromDefault ">
16
18
< render args ="elementTmpl " ifnot ="hasAddons() "/>
Original file line number Diff line number Diff line change 210
210
overflow : hidden ;
211
211
}
212
212
213
- label {
213
+ span {
214
214
display : inline-block ;
215
215
line-height : @field-label__line-height ;
216
216
vertical-align : middle ;
228
228
229
229
.required > & , // ToDo UI: change classes 'required' to '_required'.
230
230
._required > & {
231
- > span {
231
+ span {
232
232
& :after {
233
233
color : @validation__color ;
234
234
content : ' *' ;
515
515
position : absolute ;
516
516
top : 0 ;
517
517
518
- label {
518
+ span {
519
519
& :before {
520
520
display : block ;
521
521
}
530
530
}
531
531
532
532
& > .admin__field-label {
533
- label {
533
+ span {
534
534
& :before {
535
535
display : none ;
536
536
}
You can’t perform that action at this time.
0 commit comments