Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 6650184

Browse files
ENGCOM-1207: Fix for not working LESS extends #14395
- Merge Pull Request magento/magento2#14395 from Igloczek/magento2:extends-fix - Merged commits: 1. f5e429d
2 parents 0599685 + f5e429d commit 6650184

File tree

6 files changed

+8
-11
lines changed

6 files changed

+8
-11
lines changed

app/design/frontend/Magento/blank/Magento_Checkout/web/css/source/module/checkout/_tooltip.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// _____________________________________________
99

1010
@checkout-tooltip__hover__z-index: @tooltip__z-index;
11-
@checkout-tooltip-breakpoint__screen-m: @modal-popup-breakpoint-screen__m;
1211

1312
@checkout-tooltip-icon-arrow__font-size: 10px;
1413
@checkout-tooltip-icon-arrow__left: -( @checkout-tooltip-content__padding + @checkout-tooltip-icon-arrow__font-size - @checkout-tooltip-content__border-width);
@@ -138,7 +137,7 @@
138137
}
139138
}
140139

141-
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @checkout-tooltip-breakpoint__screen-m) {
140+
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
142141
.field-tooltip {
143142
.field-tooltip-content {
144143
&:extend(.abs-checkout-tooltip-content-position-top-mobile all);

app/design/frontend/Magento/blank/Magento_Sales/web/css/source/_module.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
}
263263

264264
.toolbar {
265-
&:extend(.abs-add-clearfix-desktop all);
265+
&:extend(.abs-add-clearfix-mobile all);
266266

267267
.pages {
268268
float: right;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@
12331233
}
12341234
}
12351235

1236-
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = (@screen__m + 1)) {
1236+
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
12371237
.abs-checkout-tooltip-content-position-top-mobile {
12381238
@abs-checkout-tooltip-content-position-top();
12391239
}

app/design/frontend/Magento/blank/web/css/source/components/_modals_extend.less

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
@modal-popup-title__font-size: 26px;
1818
@modal-popup-title-mobile__font-size: @font-size__base;
19-
@modal-popup-breakpoint-screen__m: @screen__m;
2019

2120
@modal-slide__first__indent-left: 44px;
2221
@modal-slide-mobile__background-color: @color-gray-light01;
@@ -149,7 +148,7 @@
149148
}
150149
}
151150

152-
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @modal-popup-breakpoint-screen__m) {
151+
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
153152
.modal-popup {
154153
&.modal-slide {
155154
.modal-inner-wrap[class] {
@@ -180,7 +179,7 @@
180179
// Desktop
181180
// _____________________________________________
182181

183-
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @modal-popup-breakpoint-screen__m) {
182+
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
184183
.modal-popup {
185184
&.modal-slide {
186185
.modal-footer {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1681,7 +1681,7 @@
16811681
}
16821682
}
16831683

1684-
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = (@screen__m + 1)) {
1684+
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
16851685
.abs-checkout-tooltip-content-position-top-mobile {
16861686
@abs-checkout-tooltip-content-position-top();
16871687
}

app/design/frontend/Magento/luma/web/css/source/components/_modals_extend.less

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
@modal-popup-title__font-size: 26px;
1818
@modal-popup-title-mobile__font-size: @font-size__base;
19-
@modal-popup-breakpoint-screen__m: @screen__m;
2019

2120
@modal-slide__first__indent-left: 44px;
2221
@modal-slide-mobile__background-color: @color-gray-light01;
@@ -148,7 +147,7 @@
148147
}
149148
}
150149

151-
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @modal-popup-breakpoint-screen__m) {
150+
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
152151
.modal-popup {
153152
&.modal-slide {
154153
.modal-inner-wrap[class] {
@@ -179,7 +178,7 @@
179178
// Desktop
180179
// _____________________________________________
181180

182-
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @modal-popup-breakpoint-screen__m) {
181+
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
183182
.modal-popup {
184183
&.modal-slide {
185184
.modal-footer {

0 commit comments

Comments
 (0)