Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Misaligned comments button in Document (#83486)

Egor Grushin1a20e28a3a0a
diff --git a/frontend/src/metabase/rich_text_editing/tiptap/components/CommentsButton.tsx b/frontend/src/metabase/rich_text_editing/tiptap/components/CommentsButton.tsx
index c6d770c9c93..53ed5246b9e 100644
--- a/frontend/src/metabase/rich_text_editing/tiptap/components/CommentsButton.tsx
+++ b/frontend/src/metabase/rich_text_editing/tiptap/components/CommentsButton.tsx
@@ -18,8 +18,9 @@ export const CommentsButton = <C extends ElementType = "button">({
return (
<Button
aria-label={t`Comments`}
- variant={active ? "filled" : "transparent"}
- size={active ? "sm" : "compact-md"}
+ variant={active ? "filled" : "subtle"}
+ color={active ? undefined : "neutral"}
+ size="sm"
leftSection={
<Icon
name={unresolvedCommentsCount > 0 ? "comment" : "add_comment"}