Size the scope toggle to the pill row

ToggleGroup gained size variants on the SelectPill scale in spaceui
(cd42fd2 there); the search bar's scope control uses sm so the whole
refinement row sits on one h-7 baseline. Requires @spacedrive/
primitives 0.2.4; the workspace is bun-linked to the local package
until that publishes.
This commit is contained in:
Jamie Pine committed 2026-09-15 22:25:53 -07:00
1 parent 3f4b671008
commit 7b6f8ac9fb
1 file changed
+1
@@ -84,6 +84,7 @@ export function SearchToolbar() {
return (
<div className="flex flex-wrap items-center gap-2 px-3 py-1.5 border-b border-app-line/50">
<ToggleGroup
size="sm"
options={scopeOptions}
value={scope === 'source' && !source ? 'folder' : scope}
onChange={handleScopeChange}