diff --git a/packages/ui/fern-docs-search-ui/src/app/globals.css b/packages/ui/fern-docs-search-ui/src/app/globals.css index ee47abf146..32725b89a2 100644 --- a/packages/ui/fern-docs-search-ui/src/app/globals.css +++ b/packages/ui/fern-docs-search-ui/src/app/globals.css @@ -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; + } + } } diff --git a/packages/ui/fern-docs-search-ui/src/components/desktop/FilterDropdownMenu.tsx b/packages/ui/fern-docs-search-ui/src/components/desktop/FilterDropdownMenu.tsx index 29ac0b8b23..7e436ace2d 100644 --- a/packages/ui/fern-docs-search-ui/src/components/desktop/FilterDropdownMenu.tsx +++ b/packages/ui/fern-docs-search-ui/src/components/desktop/FilterDropdownMenu.tsx @@ -47,7 +47,9 @@ export function FilterDropdownMenu({ - + - + {children}