File tree 3 files changed +10
-31
lines changed
code/Magento/CheckoutAgreements/view/frontend/web/template/checkout
design/frontend/Magento/blank/Magento_Checkout/web/css/source/module/checkout 3 files changed +10
-31
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
-->
7
7
< div data-role ="checkout-agreements ">
8
- < div class ="checkout-agreements " data-bind ="visible: isVisible ">
8
+ < div class ="checkout-agreements fieldset " data-bind ="visible: isVisible ">
9
9
<!-- ko foreach: agreements -->
10
10
<!-- ko if: ($parent.isAgreementRequired($data)) -->
11
- < div class ="checkout-agreement required ">
11
+ < div class ="checkout-agreement field choice required ">
12
12
< input type ="checkbox " class ="required-entry "
13
13
data-bind ="attr: {
14
14
'id': $parent.getCheckboxId($parentContext, agreementId),
15
15
'name': 'agreement[' + agreementId + ']',
16
16
'value': agreementId
17
17
} "/>
18
- < label data-bind ="attr: {'for': $parent.getCheckboxId($parentContext, agreementId)} ">
18
+ < label class =" label " data-bind ="attr: {'for': $parent.getCheckboxId($parentContext, agreementId)} ">
19
19
< button type ="button "
20
20
class ="action action-show "
21
21
data-bind ="click: function(data, event) { return $parent.showContent(data, event) } "
Original file line number Diff line number Diff line change 55
55
}
56
56
}
57
57
}
58
-
59
- //
60
- // Desktop
61
- // _____________________________________________
62
-
63
- .media-width (@extremum , @break ) when (@extremum = ' min' ) and (@break = @screen__m ) {
64
- // ToDo UI: remove with global blank theme .field.required update
65
- .opc-wrapper {
66
- .fieldset {
67
- > .field {
68
- & .required ,
69
- & ._required {
70
- position : relative ;
71
-
72
- > label {
73
- padding-right : 25px ;
74
-
75
- & :after {
76
- margin-left : @indent__s ;
77
- position : absolute ;
78
- top : 9px ;
79
- }
80
- }
81
- }
82
- }
83
- }
84
- }
85
- }
Original file line number Diff line number Diff line change 209
209
.fieldset {
210
210
> .field {
211
211
margin : 0 0 @indent__base ;
212
+
213
+ & .choice {
214
+ & :before {
215
+ padding : 0 ;
216
+ width : 0 ;
217
+ }
218
+ }
212
219
213
220
& .type {
214
221
.control {
You can’t perform that action at this time.
0 commit comments