Skip to content

Commit

Permalink
rounded facet header
Browse files Browse the repository at this point in the history
  • Loading branch information
craigrbarnes committed Jan 28, 2025
1 parent 36ce172 commit 980021e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ const FacetControlsHeader = ({
<ActionIcon
variant="subtle"
onClick={() => {
console.log('toggleExpandFilter', field, isFilterExpanded);
toggleExpandFilter(field, !isFilterExpanded);
}}
className="mt-0.5 -ml-1.5"
Expand All @@ -98,13 +97,13 @@ const FacetControlsHeader = ({
{isFilterExpanded ? (
<ExpandLessIcon
size="3em"
color="accent.4"
className={header.iconStyle}
aria-hidden="true"
/>
) : (
<ExpandMoreIcon
size="3em"
color="accent.4"
className={header.iconStyle}
aria-hidden="true"
/>
)}
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/src/components/facets/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ text-secondary-contrast font-heading font-semibold text-sm break-words
`;

export const FacetHeader = tw.div`
flex items-start justify-between items-center flex-nowrap bg-secondary px-1.5
flex items-start justify-between items-center flex-nowrap bg-secondary px-1.5 rounded-t-md
`;
6 changes: 6 additions & 0 deletions packages/sampleCommons/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/coverage

# next.js
.next
/.next/
/out/

Expand All @@ -34,3 +35,8 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts
/.swc/

.turbo
/test-results/
/playwright-report/
/playwright/.cache/

0 comments on commit 980021e

Please sign in to comment.