diff --git a/components/email/batch-tag-button.tsx b/components/email/batch-tag-button.tsx index dbcd227e6..9f99e5174 100644 --- a/components/email/batch-tag-button.tsx +++ b/components/email/batch-tag-button.tsx @@ -2,7 +2,7 @@ import { useCallback, useEffect, useRef, useState } from "react"; import { createPortal } from "react-dom"; -import { Button } from "@/components/ui/button"; +import { IconButton } from "@/components/ui/icon-button"; import { Tag } from "@/components/icons"; import { TagPicker } from "./tag-picker"; @@ -63,10 +63,9 @@ export function BatchTagButton({ return ( <> - + + {isOpen && createPortal(
)}
- + {/* The bar's buttons share one height (R1): 32px icons, and the + text button at xs when there is room for it. */} + {batchNarrow ? ( + + + + ) : ( + + )}
)}