mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-11-04 22:33:43 -05:00
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:
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}
|
||||
|
||||
Reference in new issue
Block a user