File tree Expand file tree Collapse file tree 2 files changed +10
-23
lines changed
code/Magento/Catalog/view/adminhtml/templates/catalog/product/composite/fieldset/options/type
design/adminhtml/Magento/backend/Magento_Catalog/web/css/source Expand file tree Collapse file tree 2 files changed +10
-23
lines changed Original file line number Diff line number Diff line change 11
11
<?php $ _option = $ block ->getOption (); ?>
12
12
<div class="field admin__field<?php if ($ _option ->getIsRequire ()) echo ' required _required ' ?> ">
13
13
<label class="admin__field-label label">
14
- <?= $ block ->escapeHtml ($ _option ->getTitle ()) ?>
15
- <?= /* @escapeNotVerified */ $ block ->getFormattedPrice () ?>
14
+ <span>
15
+ <?= $ block ->escapeHtml ($ _option ->getTitle ()) ?>
16
+ <?= /* @escapeNotVerified */ $ block ->getFormattedPrice () ?>
17
+ </span>
16
18
</label>
17
19
<div class="control admin__field-control">
18
20
<?php if ($ _option ->getType () == \Magento \Catalog \Api \Data \ProductCustomOptionInterface::OPTION_TYPE_FIELD ): ?>
Original file line number Diff line number Diff line change 33
33
.admin__field {
34
34
& .required ,
35
35
& ._required {
36
- & > .admin__field-label {
37
- & :after {
38
- color : @validation__color ;
39
- content : ' *' ;
40
- display : inline-block ;
41
- font-size : @font-size__l ;
42
- font-weight : @font-weight__heavier ;
43
- line-height : 1 ;
44
- margin-left : 10px ;
45
- margin-top : .2rem ;
46
- position : absolute ;
47
- z-index : 1 ;
48
- }
49
- & .price-notice {
50
- & :after {
51
- display : none ;
52
- }
53
-
54
- & span :after {
55
- display : none
56
- }
36
+ & > .admin__field-label > span {
37
+
38
+ width : 100% ;
39
+
40
+ & span :after {
41
+ display : none ;
57
42
}
58
43
}
59
44
}
You can’t perform that action at this time.
0 commit comments