Skip to content

Commit

Permalink
updated dropdown facets
Browse files Browse the repository at this point in the history
  • Loading branch information
zotya committed Jan 4, 2024
1 parent 2b8b17c commit ccc7b19
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 0 additions & 1 deletion searchlib/components/Facets/Unconnected/MultiTermFacet.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ const MultiTermFacetViewComponent = (props) => {
const facetConfig = appConfig.facets.find((f) => f.field === field);
const configSortOn = facetConfig.sortOn || 'count';
const configSortOrder = facetConfig.sortOrder || 'descending';
debugger;
let defaultSortOrder = {
// each criteria has its own default sort order
count: 'descending',
Expand Down
9 changes: 7 additions & 2 deletions src/SearchBlock/less/dropdown-filterlist.less
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
.ui.card.term.active-term {
width: auto !important;
min-width: auto;
margin: 5px 1em 5px 0 !important;
margin: 0 !important;

.header,
span.count {
Expand All @@ -188,9 +188,14 @@
}

.card-header {
flex-direction: row;
display: inline-block !important;
padding: 0.2rem !important;
text-align: left !important;

.clear-filters {
top: -5px;
}
max-width:100%;
}
}

Expand Down

0 comments on commit ccc7b19

Please sign in to comment.