diff --git a/.gitignore b/.gitignore index dc69cdf75..80e73896a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ node_modules # misc .DS_Store +.vscode .env.local .env.development.local .env.test.local diff --git a/scripts/__snapshots__/e2e-templates.test.js.snap b/scripts/__snapshots__/e2e-templates.test.js.snap index 681623d37..bb5d8bd76 100644 --- a/scripts/__snapshots__/e2e-templates.test.js.snap +++ b/scripts/__snapshots__/e2e-templates.test.js.snap @@ -328,13 +328,19 @@ exports[`Templates Angular InstantSearch File content: src/app/app.component.css padding: 1rem; } -.container-app { - display: grid; - grid-template-columns: 20% 75%; - grid-gap: 5%; +.search-panel { + display: flex; +} + +.search-panel__filters { + flex: 1; +} + +.search-panel__results { + flex: 3; } -.searchBox { +.searchbox { margin-bottom: 2rem; } @@ -359,14 +365,14 @@ exports[`Templates Angular InstantSearch File content: src/app/app.component.htm
-
-
+
+
-
-
+
+
@@ -1020,14 +1026,14 @@ exports[`Templates InstantSearch.js File content: index.html 1`] = `
-
-
+
+
-
-
+
+
@@ -1116,10 +1122,16 @@ exports[`Templates InstantSearch.js File content: src/app.css 1`] = ` padding: 1rem; } -.container-app { - display: grid; - grid-template-columns: 20% 75%; - grid-gap: 5%; +.search-panel { + display: flex; +} + +.search-panel__filters { + flex: 1; +} + +.search-panel__results { + flex: 3; } .ais-hits { @@ -1137,7 +1149,7 @@ exports[`Templates InstantSearch.js File content: src/app.css 1`] = ` box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.16); } -#searchBox { +#searchbox { margin-bottom: 2rem; } @@ -1158,7 +1170,7 @@ const search = instantsearch({ search.addWidget( instantsearch.widgets.searchBox({ - container: '#searchBox', + container: '#searchbox', placeholder: 'Search placeholder', }) ); @@ -1385,13 +1397,19 @@ exports[`Templates React InstantSearch File content: src/App.css 1`] = ` padding: 1rem; } -.container-app { - display: grid; - grid-template-columns: 20% 75%; - grid-gap: 5%; +.search-panel { + display: flex; +} + +.search-panel__filters { + flex: 1; +} + +.search-panel__results { + flex: 3; } -.searchBox { +.searchbox { margin-bottom: 2rem; } @@ -1436,14 +1454,14 @@ class App extends Component { apiKey=\\"apiKey\\" indexName=\\"indexName\\" > -
-
+
+
-
- +
+
@@ -1651,13 +1669,13 @@ exports[`Templates Vue InstantSearch File content: src/App.vue 1`] = ` api-key=\\"apiKey\\" index-name=\\"indexName\\" > -
-
+
+
-
+
-
-
+
+ {{#if attributesForFaceting}} +
{{#each attributesForFaceting}} {{/each}}
-
-