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#16048: fix: prevent inline-block issue in name form due to space and font-size (by @DanielRuf)
 - magento#16002: bugfix checkout page cart icon color (by @Karlasa)
 - magento#16023: [Backport 2.2] Wishlist: Remove unnecessary parameter from invoking toHtml() method (by @rogyar)
 - magento#16001: Extend default config instead overwrite (by @likemusic)
 - magento#15991: fix for dropdown toggle icon in cart (by @Karlasa)
 - magento#15907: fixed word typo (by @ledian-hymetllari)
 - magento#15936: magento#15308 removed extraneous margin (by @StevenGuapaBV)
 - magento#15914: [Resolved : Changing @tab-content__border variable has no effect in B� (by @hitesh-wagento)
 - magento#15878: [Resolved : limiter float too generic] (by @hitesh-wagento)


Fixed GitHub Issues:
 - magento#16047: inline-block issue in name form (reported by @DanielRuf) has been fixed in magento#16048 by @DanielRuf in 2.2-develop branch
   Related commits:
     1. 587584c

 - magento#15308: extraneous margins on product list and product list items (reported by @DanielRuf) has been fixed in magento#15936 by @StevenGuapaBV in 2.2-develop branch
   Related commits:
     1. cae12b1

 - magento#14999: Changing @tab-content__border variable has no effect in Blank theme (reported by @denistrator) has been fixed in magento#15914 by @hitesh-wagento in 2.2-develop branch
   Related commits:
     1. 4877e4c

 - magento#15323: limiter float too generic (reported by @DanielRuf) has been fixed in magento#15878 by @hitesh-wagento in 2.2-develop branch
   Related commits:
     1. 1b9043b
  • Loading branch information
magento-engcom-team authored Jun 13, 2018
2 parents 8f80bd6 + b73e89c commit 695aaf8
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,15 @@ $suffix = $block->showSuffix();
?>
<?php if (($prefix || $middle || $suffix) && !$block->getNoWrap()): ?>
<div class="field required fullname <?= $block->escapeHtmlAttr($block->getContainerClassName()) ?>">
<label for="<?= $block->escapeHtmlAttr($block->getFieldId('firstname')) ?>" class="label">
<span><?= $block->escapeHtml(__('Name')) ?></span>
</label>
<label for="<?= $block->escapeHtmlAttr($block->getFieldId('firstname')) ?>" class="label"><span><?= $block->escapeHtml(__('Name')) ?></span></label>
<div class="control">
<fieldset class="fieldset fieldset-fullname">
<div class="fields">
<?php endif; ?>

<?php if ($prefix): ?>
<div class="field field-name-prefix<?php if ($block->isPrefixRequired()) echo ' required' ?>">
<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('prefix')) ?>">
<span><?= $block->escapeHtml($block->getStoreLabel('prefix')) ?></span>
</label>

<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('prefix')) ?>"><span><?= $block->escapeHtml($block->getStoreLabel('prefix')) ?></span></label>
<div class="control">
<?php if ($block->getPrefixOptions() === false): ?>
<input type="text" id="<?= $block->escapeHtmlAttr($block->getFieldId('prefix')) ?>"
Expand All @@ -65,10 +60,7 @@ $suffix = $block->showSuffix();
</div>
<?php endif; ?>
<div class="field field-name-firstname required">
<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('firstname')) ?>">
<span><?= $block->escapeHtml($block->getStoreLabel('firstname')) ?></span>
</label>

<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('firstname')) ?>"><span><?= $block->escapeHtml($block->getStoreLabel('firstname')) ?></span></label>
<div class="control">
<input type="text" id="<?= $block->escapeHtmlAttr($block->getFieldId('firstname')) ?>"
name="<?= $block->escapeHtmlAttr($block->getFieldName('firstname')) ?>"
Expand All @@ -80,10 +72,7 @@ $suffix = $block->showSuffix();
<?php if ($middle): ?>
<?php $isMiddlenameRequired = $block->isMiddlenameRequired(); ?>
<div class="field field-name-middlename<?= $isMiddlenameRequired ? ' required' : '' ?>">
<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('middlename')) ?>">
<span><?= $block->escapeHtml($block->getStoreLabel('middlename')) ?></span>
</label>

<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('middlename')) ?>"><span><?= $block->escapeHtml($block->getStoreLabel('middlename')) ?></span></label>
<div class="control">
<input type="text" id="<?= $block->escapeHtmlAttr($block->getFieldId('middlename')) ?>"
name="<?= $block->escapeHtmlAttr($block->getFieldName('middlename')) ?>"
Expand All @@ -94,10 +83,7 @@ $suffix = $block->showSuffix();
</div>
<?php endif; ?>
<div class="field field-name-lastname required">
<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('lastname')) ?>">
<span><?= $block->escapeHtml($block->getStoreLabel('lastname')) ?></span>
</label>

<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('lastname')) ?>"><span><?= $block->escapeHtml($block->getStoreLabel('lastname')) ?></span></label>
<div class="control">
<input type="text" id="<?= $block->escapeHtmlAttr($block->getFieldId('lastname')) ?>"
name="<?= $block->escapeHtmlAttr($block->getFieldName('lastname')) ?>"
Expand All @@ -108,10 +94,7 @@ $suffix = $block->showSuffix();
</div>
<?php if ($suffix): ?>
<div class="field field-name-suffix<?php if ($block->isSuffixRequired()) echo ' required' ?>">
<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('suffix')) ?>">
<span><?= $block->escapeHtml($block->getStoreLabel('suffix')) ?></span>
</label>

<label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('suffix')) ?>"><span><?= $block->escapeHtml($block->getStoreLabel('suffix')) ?></span></label>
<div class="control">
<?php if ($block->getSuffixOptions() === false): ?>
<input type="text" id="<?= $block->escapeHtmlAttr($block->getFieldId('suffix')) ?>"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $columns = $block->getColumns();
<?= /* @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()) . '">' ?>
<div class="product-item-info" data-container="product-grid">
<?php foreach ($columns as $column): ?>
<?php $column->setItem($item); echo $column->toHtml($item);?>
<?= $column->setItem($item)->toHtml() ?>
<?php endforeach; ?>
</div>
<?= ($iterator == count($block->getItems())+1) ? '</li>' : '' ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,10 @@
.lib-icon-font-symbol(@icon-list);
}

.limiter {
float: right;

.products.wrapper ~ .toolbar & {
.toolbar {
.products.wrapper ~ & .limiter {
display: block;
float: right;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@
.action {
&.showcart {
&:before {
.lib-css(color, @primary__color);
.lib-css(color, @button__color);
}

&:hover:before {
.lib-css(color, @button__hover__color);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1402,7 +1402,7 @@
&.active {
> .title {
.lib-icon-font-symbol(
@_icon-font-content: @icon-prev,
@_icon-font-content: @icon-up,
@_icon-font-position: after
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@

.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
.product.data.items {
.lib-data-tabs(
@_tab-content-border-top-status: true
);
.lib-data-tabs();
}
}

Expand Down
10 changes: 10 additions & 0 deletions app/design/frontend/Magento/blank/web/css/source/_variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@
@font-family-name__base: 'Open Sans';
@font-family__base: @font-family-name__base, @font-family__sans-serif;

//
// Sections variables
// _____________________________________________

//
// Tabs
// ---------------------------------------------
@tab-content__border-top-status: true;


//
// Sidebar
// ---------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@
.column.main {
.product {
&-items {
margin-left: -@indent__base;
margin-left: 0;
}

&-item {
padding-left: @indent__base;
padding-left: 0;
}
}
}
Expand Down Expand Up @@ -277,8 +277,8 @@
}
.sidebar & {
.product-item-photo {
top: 9px;
left: 9px;
top: 9px;
}
}
}
Expand Down Expand Up @@ -310,8 +310,8 @@
.actions-primary + .actions-secondary {
display: table-cell;
padding-left: 10px;
width: 50%;
vertical-align: middle;
width: 50%;

> .action {
margin-right: 10px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,10 @@
}
}

.limiter {
float: right;
.products.wrapper ~ .toolbar & {
.toolbar {
.products.wrapper ~ & .limiter {
display: block;
float: right;
}
}
}
2 changes: 1 addition & 1 deletion lib/web/mage/adminhtml/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ define([
var idTo, idFrom, values, fromId, radioFrom;

if (config) {
this._config = config;
this._config = jQuery.extend(this._config, config);
}

for (idTo in elementsMap) { //eslint-disable-line guard-for-in
Expand Down
2 changes: 1 addition & 1 deletion lib/web/mage/apply/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ define([
virtuals = [];

/**
* Adds components to the virtula list.
* Adds components to the virtual list.
*
* @param {Object} components
*/
Expand Down

0 comments on commit 695aaf8

Please sign in to comment.