Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

feat: change clear filter button (#1547)

gbirman114213f5cbb7
diff --git a/js/app/packages/app/component/next-soup/soup-view/soup-toolbar.tsx b/js/app/packages/app/component/next-soup/soup-view/soup-toolbar.tsx
index 5c17d04f4f..b7baf403aa 100644
--- a/js/app/packages/app/component/next-soup/soup-view/soup-toolbar.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/soup-toolbar.tsx
@@ -1,6 +1,6 @@
import SearchIcon from '@macro-icons/macro-magnifying-glass.svg';
import IconGear from '@macro-icons/macro-gear.svg';
-import XIcon from '@icon/regular/x.svg?component-solid';
+import BackspaceIcon from '@icon/regular/backspace.svg?component-solid';
import PreviewIcon from '@macro-icons/wide/preview.svg';
import NoiseIcon from '@macro-icons/wide/noise.svg';
import SignalIcon from '@macro-icons/wide/signal.svg';
@@ -99,14 +99,10 @@ export const SoupToolbar = () => {
>
<button
type="button"
- class="flex items-center gap-1.5 px-2.5 rounded-full text-ink-muted hover:text-accent hover:bg-accent/20 active:bg-accent active:text-panel"
+ class="flex items-center justify-center size-[22px] rounded-full text-ink-muted hover:text-accent hover:bg-accent/20 active:bg-accent active:text-panel"
onClick={handleClear}
>
- <XIcon class="size-4.5" />
- <span class="text-xs touch:mobile-width:text-sm leading-none">
- Clear
- <span class="ml-1 font-mono opacity-70">/</span>
- </span>
+ <BackspaceIcon class="size-4.5" />
</button>
</Tooltip>
<div class="mx-0.5 w-px h-5 bg-edge-muted/50 shrink-0" />