Skip to content

Commit 0883bbb

Browse files
author
Stanislav Idolov
authored
ENGCOM-2406: [Backport] Fixed extends and removed unnecessary variables #16911
2 parents 937cd43 + cd20f8e commit 0883bbb

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
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/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;
@@ -151,7 +150,7 @@
151150
}
152151
}
153152

154-
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @modal-popup-breakpoint-screen__m) {
153+
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
155154
.modal-popup {
156155
&.modal-slide {
157156
.modal-inner-wrap[class] {
@@ -182,7 +181,7 @@
182181
// Desktop
183182
// _____________________________________________
184183

185-
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @modal-popup-breakpoint-screen__m) {
184+
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {
186185
.modal-popup {
187186
&.modal-slide {
188187
.modal-footer {

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;
@@ -150,7 +149,7 @@
150149
}
151150
}
152151

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

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

0 commit comments

Comments
 (0)