Skip to content

Commit 4fa9862

Browse files
bors[bot]bidoubiwa
andauthored
Merge #610 #611
610: Fix item size in geo playground r=bidoubiwa a=bidoubiwa 611: Add compatibility with `or` operator on refinmentlist r=bidoubiwa a=bidoubiwa Co-authored-by: Charlotte Vermandel <[email protected]> Co-authored-by: cvermand <[email protected]>
3 parents ee86031 + 5426ec4 + 1cbe38a commit 4fa9862

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ The `refinementList` widget is one of the most common widgets you can find in a
584584

585585
- ✅ container: The CSS Selector or HTMLElement to insert the refinements. _required_
586586
- ✅ attribute: The facet to display _required_
587-
- operator: How to apply facets, "AND" or "OR". For the moment it only works with "AND"
587+
- operator: How to apply facets, `and` or `or` (`and` is the default value).
588588
- ✅ limit: How many facet values to retrieve.
589589
- ✅ showMore: Whether to display a button that expands the number of items.
590590
- ✅ showMoreLimit: The maximum number of displayed items. Does not work when showMoreLimit > limit.

playgrounds/geo-javascript/src/app.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ body {
2929
overflow: hidden;
3030
margin: 0 auto;
3131
}
32-
32+
.ais-InfiniteHits-item {
33+
margin-bottom: 1em;
34+
width: calc(50% - 1rem);
35+
}
3336
.ais-Hits-item {
3437
margin-bottom: 1em;
3538
width: calc(50% - 1rem);

0 commit comments

Comments
 (0)