Skip to content

Commit 8419d5c

Browse files
committed
Fixes less compilation problems in Magento's luma theme while also fixing:
- Magento_CatalogSearch module: hides legend in advanced search form - Magento_Sales module: adds print icon to print link for sales objects in order history - Magento_AdvancedCheckout module: not sure, can't test at the moment
1 parent 164a053 commit 8419d5c

File tree

3 files changed

+20
-12
lines changed

3 files changed

+20
-12
lines changed

app/design/frontend/Magento/luma/Magento_AdvancedCheckout/web/css/source/_module.less

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@
4848
}
4949

5050
.block-content {
51-
&:extend(.abs-add-clearfix-desktop all);
52-
53-
.box {
54-
&:extend(.abs-blocks-2columns all);
55-
}
56-
5751
.actions-toolbar {
5852
clear: both;
5953
.lib-actions-toolbar(
@@ -188,4 +182,16 @@
188182
&:extend(.abs-add-clearfix-desktop all);
189183
}
190184
}
185+
186+
.column {
187+
.block-addbysku {
188+
.block-content {
189+
&:extend(.abs-add-clearfix-desktop all);
190+
191+
.box {
192+
&:extend(.abs-blocks-2columns all);
193+
}
194+
}
195+
}
196+
}
191197
}

app/design/frontend/Magento/luma/Magento_CatalogSearch/web/css/source/_module.less

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// _____________________________________________
1919

2020
& when (@media-common = true) {
21-
21+
2222
.search {
2323
.fieldset {
2424
.control {
@@ -31,7 +31,7 @@
3131
}
3232
}
3333
}
34-
34+
3535
.block-search {
3636
margin-bottom: 0;
3737

@@ -136,8 +136,6 @@
136136
}
137137

138138
.form.search.advanced {
139-
&:extend(.abs-forms-general-desktop all);
140-
141139
.fields.range {
142140
.field {
143141
&:first-child {
@@ -275,4 +273,8 @@
275273
.search-autocomplete {
276274
margin-top: 0;
277275
}
276+
277+
.form.search.advanced {
278+
&:extend(.abs-forms-general-desktop all);
279+
}
278280
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,6 @@
307307
margin-right: 30px;
308308

309309
&.print {
310-
&:extend(.abs-action-print all);
311310
display: none;
312311
margin: 0;
313312
}
@@ -585,6 +584,7 @@
585584

586585
.order-actions-toolbar {
587586
.action.print {
587+
&:extend(.abs-action-print all);
588588
display: block;
589589
float: right;
590590
}
@@ -705,7 +705,7 @@
705705
}
706706
}
707707

708-
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__l) {
708+
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__l) {
709709
.order-links {
710710
.item {
711711
margin: 0 @tab-control__margin-right 0 0;

0 commit comments

Comments
 (0)