Skip to content

Commit 695aaf8

Browse files
🔃 [EngCom] Public Pull Requests - 2.2-develop
Accepted Public Pull Requests: - #16048: fix: prevent inline-block issue in name form due to space and font-size (by @DanielRuf) - #16002: bugfix checkout page cart icon color (by @Karlasa) - #16023: [Backport 2.2] Wishlist: Remove unnecessary parameter from invoking toHtml() method (by @rogyar) - #16001: Extend default config instead overwrite (by @likemusic) - #15991: fix for dropdown toggle icon in cart (by @Karlasa) - #15907: fixed word typo (by @ledian-hymetllari) - #15936: #15308 removed extraneous margin (by @StevenGuapaBV) - #15914: [Resolved : Changing @tab-content__border variable has no effect in B� (by @hitesh-wagento) - #15878: [Resolved : limiter float too generic] (by @hitesh-wagento) Fixed GitHub Issues: - #16047: inline-block issue in name form (reported by @DanielRuf) has been fixed in #16048 by @DanielRuf in 2.2-develop branch Related commits: 1. 587584c - #15308: extraneous margins on product list and product list items (reported by @DanielRuf) has been fixed in #15936 by @StevenGuapaBV in 2.2-develop branch Related commits: 1. cae12b1 - #14999: Changing @tab-content__border variable has no effect in Blank theme (reported by @denistrator) has been fixed in #15914 by @hitesh-wagento in 2.2-develop branch Related commits: 1. 4877e4c - #15323: limiter float too generic (reported by @DanielRuf) has been fixed in #15878 by @hitesh-wagento in 2.2-develop branch Related commits: 1. 1b9043b
2 parents 8f80bd6 + b73e89c commit 695aaf8

File tree

11 files changed

+36
-42
lines changed

11 files changed

+36
-42
lines changed

app/code/Magento/Customer/view/frontend/templates/widget/name.phtml

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,15 @@ $suffix = $block->showSuffix();
2828
?>
2929
<?php if (($prefix || $middle || $suffix) && !$block->getNoWrap()): ?>
3030
<div class="field required fullname <?= $block->escapeHtmlAttr($block->getContainerClassName()) ?>">
31-
<label for="<?= $block->escapeHtmlAttr($block->getFieldId('firstname')) ?>" class="label">
32-
<span><?= $block->escapeHtml(__('Name')) ?></span>
33-
</label>
31+
<label for="<?= $block->escapeHtmlAttr($block->getFieldId('firstname')) ?>" class="label"><span><?= $block->escapeHtml(__('Name')) ?></span></label>
3432
<div class="control">
3533
<fieldset class="fieldset fieldset-fullname">
3634
<div class="fields">
3735
<?php endif; ?>
3836

3937
<?php if ($prefix): ?>
4038
<div class="field field-name-prefix<?php if ($block->isPrefixRequired()) echo ' required' ?>">
41-
<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('prefix')) ?>">
42-
<span><?= $block->escapeHtml($block->getStoreLabel('prefix')) ?></span>
43-
</label>
44-
39+
<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('prefix')) ?>"><span><?= $block->escapeHtml($block->getStoreLabel('prefix')) ?></span></label>
4540
<div class="control">
4641
<?php if ($block->getPrefixOptions() === false): ?>
4742
<input type="text" id="<?= $block->escapeHtmlAttr($block->getFieldId('prefix')) ?>"
@@ -65,10 +60,7 @@ $suffix = $block->showSuffix();
6560
</div>
6661
<?php endif; ?>
6762
<div class="field field-name-firstname required">
68-
<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('firstname')) ?>">
69-
<span><?= $block->escapeHtml($block->getStoreLabel('firstname')) ?></span>
70-
</label>
71-
63+
<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('firstname')) ?>"><span><?= $block->escapeHtml($block->getStoreLabel('firstname')) ?></span></label>
7264
<div class="control">
7365
<input type="text" id="<?= $block->escapeHtmlAttr($block->getFieldId('firstname')) ?>"
7466
name="<?= $block->escapeHtmlAttr($block->getFieldName('firstname')) ?>"
@@ -80,10 +72,7 @@ $suffix = $block->showSuffix();
8072
<?php if ($middle): ?>
8173
<?php $isMiddlenameRequired = $block->isMiddlenameRequired(); ?>
8274
<div class="field field-name-middlename<?= $isMiddlenameRequired ? ' required' : '' ?>">
83-
<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('middlename')) ?>">
84-
<span><?= $block->escapeHtml($block->getStoreLabel('middlename')) ?></span>
85-
</label>
86-
75+
<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('middlename')) ?>"><span><?= $block->escapeHtml($block->getStoreLabel('middlename')) ?></span></label>
8776
<div class="control">
8877
<input type="text" id="<?= $block->escapeHtmlAttr($block->getFieldId('middlename')) ?>"
8978
name="<?= $block->escapeHtmlAttr($block->getFieldName('middlename')) ?>"
@@ -94,10 +83,7 @@ $suffix = $block->showSuffix();
9483
</div>
9584
<?php endif; ?>
9685
<div class="field field-name-lastname required">
97-
<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('lastname')) ?>">
98-
<span><?= $block->escapeHtml($block->getStoreLabel('lastname')) ?></span>
99-
</label>
100-
86+
<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('lastname')) ?>"><span><?= $block->escapeHtml($block->getStoreLabel('lastname')) ?></span></label>
10187
<div class="control">
10288
<input type="text" id="<?= $block->escapeHtmlAttr($block->getFieldId('lastname')) ?>"
10389
name="<?= $block->escapeHtmlAttr($block->getFieldName('lastname')) ?>"
@@ -108,10 +94,7 @@ $suffix = $block->showSuffix();
10894
</div>
10995
<?php if ($suffix): ?>
11096
<div class="field field-name-suffix<?php if ($block->isSuffixRequired()) echo ' required' ?>">
111-
<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('suffix')) ?>">
112-
<span><?= $block->escapeHtml($block->getStoreLabel('suffix')) ?></span>
113-
</label>
114-
97+
<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('suffix')) ?>"><span><?= $block->escapeHtml($block->getStoreLabel('suffix')) ?></span></label>
11598
<div class="control">
11699
<?php if ($block->getSuffixOptions() === false): ?>
117100
<input type="text" id="<?= $block->escapeHtmlAttr($block->getFieldId('suffix')) ?>"

app/code/Magento/Wishlist/view/frontend/templates/item/list.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $columns = $block->getColumns();
2020
<?= /* @noEscape */ ($iterator++ == 1) ? '<li data-row="product-item" class="product-item" id="item_' . $block->escapeHtmlAttr($item->getId()) . '">' : '</li><li class="product-item" id="item_' . $block->escapeHtmlAttr($item->getId()) . '">' ?>
2121
<div class="product-item-info" data-container="product-grid">
2222
<?php foreach ($columns as $column): ?>
23-
<?php $column->setItem($item); echo $column->toHtml($item);?>
23+
<?= $column->setItem($item)->toHtml() ?>
2424
<?php endforeach; ?>
2525
</div>
2626
<?= ($iterator == count($block->getItems())+1) ? '</li>' : '' ?>

app/design/frontend/Magento/blank/Magento_Catalog/web/css/source/module/_toolbar.less

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,10 @@
188188
.lib-icon-font-symbol(@icon-list);
189189
}
190190

191-
.limiter {
192-
float: right;
193-
194-
.products.wrapper ~ .toolbar & {
191+
.toolbar {
192+
.products.wrapper ~ & .limiter {
195193
display: block;
194+
float: right;
196195
}
197196
}
198197
}

app/design/frontend/Magento/blank/Magento_Checkout/web/css/source/module/checkout/_estimated-total.less

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@
3535
.action {
3636
&.showcart {
3737
&:before {
38-
.lib-css(color, @primary__color);
38+
.lib-css(color, @button__color);
39+
}
40+
41+
&:hover:before {
42+
.lib-css(color, @button__hover__color);
3943
}
4044
}
4145
}

app/design/frontend/Magento/blank/web/css/source/_extends.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@
14021402
&.active {
14031403
> .title {
14041404
.lib-icon-font-symbol(
1405-
@_icon-font-content: @icon-prev,
1405+
@_icon-font-content: @icon-up,
14061406
@_icon-font-position: after
14071407
);
14081408
}

app/design/frontend/Magento/blank/web/css/source/_sections.less

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020

2121
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
2222
.product.data.items {
23-
.lib-data-tabs(
24-
@_tab-content-border-top-status: true
25-
);
23+
.lib-data-tabs();
2624
}
2725
}
2826

app/design/frontend/Magento/blank/web/css/source/_variables.less

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@
1515
@font-family-name__base: 'Open Sans';
1616
@font-family__base: @font-family-name__base, @font-family__sans-serif;
1717

18+
//
19+
// Sections variables
20+
// _____________________________________________
21+
22+
//
23+
// Tabs
24+
// ---------------------------------------------
25+
@tab-content__border-top-status: true;
26+
27+
1828
//
1929
// Sidebar
2030
// ---------------------------------------------

app/design/frontend/Magento/luma/Magento_Catalog/web/css/source/module/_listings.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,11 @@
167167
.column.main {
168168
.product {
169169
&-items {
170-
margin-left: -@indent__base;
170+
margin-left: 0;
171171
}
172172

173173
&-item {
174-
padding-left: @indent__base;
174+
padding-left: 0;
175175
}
176176
}
177177
}
@@ -277,8 +277,8 @@
277277
}
278278
.sidebar & {
279279
.product-item-photo {
280-
top: 9px;
281280
left: 9px;
281+
top: 9px;
282282
}
283283
}
284284
}
@@ -310,8 +310,8 @@
310310
.actions-primary + .actions-secondary {
311311
display: table-cell;
312312
padding-left: 10px;
313-
width: 50%;
314313
vertical-align: middle;
314+
width: 50%;
315315

316316
> .action {
317317
margin-right: 10px;

app/design/frontend/Magento/luma/Magento_Catalog/web/css/source/module/_toolbar.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,10 @@
233233
}
234234
}
235235

236-
.limiter {
237-
float: right;
238-
.products.wrapper ~ .toolbar & {
236+
.toolbar {
237+
.products.wrapper ~ & .limiter {
239238
display: block;
239+
float: right;
240240
}
241241
}
242242
}

lib/web/mage/adminhtml/form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ define([
389389
var idTo, idFrom, values, fromId, radioFrom;
390390

391391
if (config) {
392-
this._config = config;
392+
this._config = jQuery.extend(this._config, config);
393393
}
394394

395395
for (idTo in elementsMap) { //eslint-disable-line guard-for-in

lib/web/mage/apply/scripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ define([
1414
virtuals = [];
1515

1616
/**
17-
* Adds components to the virtula list.
17+
* Adds components to the virtual list.
1818
*
1919
* @param {Object} components
2020
*/

0 commit comments

Comments
 (0)