Skip to content

Commit

Permalink
🔃 [EngCom] Public Pull Requests - 2.2-develop
Browse files Browse the repository at this point in the history
Accepted Public Pull Requests:
 - magento#21838: [Backport] Fix magento#21648 Checkout Agreements checkbox missing asterisk (by @amol2jcommerce)


Fixed GitHub Issues:
 - magento#21648: Checkout Agreements checkbox missing asterisk (reported by @Karlasa) has been fixed in magento#21838 by @amol2jcommerce in 2.2-develop branch
   Related commits:
     1. 079ecb3
     2. 943fb33
     3. 745df9a
     4. 8c609c4
  • Loading branch information
magento-engcom-team authored Mar 20, 2019
2 parents de307c7 + 1f4ac71 commit ae34e60
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
*/
-->
<div data-role="checkout-agreements">
<div class="checkout-agreements" data-bind="visible: isVisible">
<div class="checkout-agreements fieldset" data-bind="visible: isVisible">
<!-- ko foreach: agreements -->
<!-- ko if: ($parent.isAgreementRequired($data)) -->
<div class="checkout-agreement required">
<div class="checkout-agreement field choice required">
<input type="checkbox" class="required-entry"
data-bind="attr: {
'id': $parent.getCheckboxId($parentContext, agreementId),
'name': 'agreement[' + agreementId + ']',
'value': agreementId
}"/>
<label data-bind="attr: {'for': $parent.getCheckboxId($parentContext, agreementId)}">
<label class="label" data-bind="attr: {'for': $parent.getCheckboxId($parentContext, agreementId)}">
<button type="button"
class="action action-show"
data-bind="click: function(data, event) { return $parent.showContent(data, event) }"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,31 +55,3 @@
}
}
}

//
// Desktop
// _____________________________________________

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
// ToDo UI: remove with global blank theme .field.required update
.opc-wrapper {
.fieldset {
> .field {
&.required,
&._required {
position: relative;

> label {
padding-right: 25px;

&:after {
margin-left: @indent__s;
position: absolute;
top: 9px;
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,13 @@
.fieldset {
> .field {
margin: 0 0 @indent__base;

&.choice {
&:before {
padding: 0;
width: 0;
}
}

&.type {
.control {
Expand Down

0 comments on commit ae34e60

Please sign in to comment.