Skip to content

Commit

Permalink
style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Nov 15, 2024
1 parent 74ac5e0 commit bcd972f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
11 changes: 11 additions & 0 deletions packages/ui/fern-docs-search-ui/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,15 @@ body {
[cmdk-group]:not(:first-child) {
@apply mt-3;
}

.fern-search-facet-filter-menu-button:has(.fern-http-method-tag) {
padding: 0;
overflow: hidden;

.fern-http-method-tag {
padding: 0.125rem 0.625rem;
height: 20px;
border-radius: unset;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ export function FilterDropdownMenu({
<DropdownMenu key={`${filter.facet}:${filter.value}`}>
<DropdownMenuTrigger asChild>
<Badge variant="outline" asChild>
<button>{getFacetDisplay(filter.facet, filter.value, { small: true, titleCase: true })}</button>
<button className="fern-search-facet-filter-menu-button">
{getFacetDisplay(filter.facet, filter.value, { small: true, titleCase: true })}
</button>
</Badge>
</DropdownMenuTrigger>
<DropdownMenuContent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const DropdownMenuRadioItem = React.forwardRef<
>
<span className="absolute left-2 flex size-3.5 items-center justify-center">
<DropdownMenuPrimitive.ItemIndicator>
<Circle className="size-2 fill-current" />
<Circle className="size-1.5 fill-current" />
</DropdownMenuPrimitive.ItemIndicator>
</span>
{children}
Expand Down

0 comments on commit bcd972f

Please sign in to comment.