Skip to content

Commit 4e33ae9

Browse files
authored
ENGCOM-4559: [Backport] Advanced Search layout not proper #21892
2 parents 1ee0156 + 86c5a86 commit 4e33ae9

File tree

2 files changed

+34
-0
lines changed
  • app/design/frontend/Magento

2 files changed

+34
-0
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/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
}

0 commit comments

Comments
 (0)