Skip to content

Commit af75c5a

Browse files
changes for advanced-Search-layout-2.2
1 parent 67b732c commit af75c5a

File tree

4 files changed

+34
-24
lines changed

4 files changed

+34
-24
lines changed

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,17 @@
188188
margin-bottom: 0;
189189
}
190190
}
191+
192+
.form.search.advanced {
193+
.field.price {
194+
.with-addon {
195+
.input-text {
196+
flex-basis: auto;
197+
width: 100%;
198+
}
199+
}
200+
}
201+
}
191202
}
192203

193204
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) {
@@ -256,4 +267,9 @@
256267
.search-autocomplete {
257268
margin-top: 0;
258269
}
270+
271+
.form.search.advanced {
272+
min-width: 600px;
273+
width: 50%;
274+
}
259275
}

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -388,17 +388,6 @@
388388
position: relative;
389389
}
390390
}
391-
392-
.form.search.advanced {
393-
.field.price {
394-
.with-addon {
395-
.input-text {
396-
flex-basis: auto;
397-
width: 100%;
398-
}
399-
}
400-
}
401-
}
402391
}
403392

404393
//
@@ -463,7 +452,6 @@
463452
.form.send.confirmation,
464453
.form.password.forget,
465454
.form.create.account,
466-
.form.search.advanced,
467455
.form.form-orders-search {
468456
min-width: 600px;
469457
width: 50%;

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,19 @@
213213
// Mobile
214214
// _____________________________________________
215215

216+
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
217+
.form.search.advanced {
218+
.field.price {
219+
.with-addon {
220+
.input-text {
221+
flex-basis: auto;
222+
width: 100%;
223+
}
224+
}
225+
}
226+
}
227+
}
228+
216229
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__s) {
217230
.block-search {
218231
margin-top: @indent__s;
@@ -275,4 +288,9 @@
275288
.search-autocomplete {
276289
margin-top: 0;
277290
}
291+
292+
.form.search.advanced {
293+
min-width: 600px;
294+
width: 50%;
295+
}
278296
}

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,6 @@
403403
.form.send.confirmation,
404404
.form.password.forget,
405405
.form.create.account,
406-
.form.search.advanced,
407406
.form.form-orders-search {
408407
min-width: 600px;
409408
width: 50%;
@@ -604,15 +603,4 @@
604603
position: relative;
605604
}
606605
}
607-
608-
.form.search.advanced {
609-
.field.price {
610-
.with-addon {
611-
.input-text {
612-
flex-basis: auto;
613-
width: 100%;
614-
}
615-
}
616-
}
617-
}
618606
}

0 commit comments

Comments
 (0)