Skip to content

Commit

Permalink
fix(fuselage): remove margin inline end from bubble icon (#1317)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliajforesti authored Mar 12, 2024
1 parent a2f687d commit 410a121
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/quiet-ducks-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": patch
---

fix(fuselage): remove margin inline end from bubble icon
2 changes: 1 addition & 1 deletion packages/fuselage/src/components/Bubble/BubbleButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const BubbleButton = ({
onClick={onClick}
{...props}
>
{icon && <Icon name={icon} size='x16' mie={8} />}
{icon && <Icon name={icon} size='x16' />}
{label && <span>{label}</span>}
</button>
);
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exports[`[Bubble Rendering] renders Dismissable without crashing 1`] = `
>
<i
aria-hidden="true"
class="rcx-box rcx-box--full rcx-icon--name-arrow-down rcx-icon rcx-css-gcnmf8"
class="rcx-box rcx-box--full rcx-icon--name-arrow-down rcx-icon rcx-css-1g87xs3"
>
</i>
Expand All @@ -25,7 +25,7 @@ exports[`[Bubble Rendering] renders Dismissable without crashing 1`] = `
>
<i
aria-hidden="true"
class="rcx-box rcx-box--full rcx-icon--name-cross-small rcx-icon rcx-css-gcnmf8"
class="rcx-box rcx-box--full rcx-icon--name-cross-small rcx-icon rcx-css-1g87xs3"
>
</i>
Expand All @@ -46,7 +46,7 @@ exports[`[Bubble Rendering] renders IconAndLabel without crashing 1`] = `
>
<i
aria-hidden="true"
class="rcx-box rcx-box--full rcx-icon--name-arrow-down rcx-icon rcx-css-gcnmf8"
class="rcx-box rcx-box--full rcx-icon--name-arrow-down rcx-icon rcx-css-1g87xs3"
>
</i>
Expand Down Expand Up @@ -114,7 +114,7 @@ exports[`[Bubble Rendering] renders SecondaryDismissable without crashing 1`] =
>
<i
aria-hidden="true"
class="rcx-box rcx-box--full rcx-icon--name-cross-small rcx-icon rcx-css-gcnmf8"
class="rcx-box rcx-box--full rcx-icon--name-cross-small rcx-icon rcx-css-1g87xs3"
>
</i>
Expand Down

0 comments on commit 410a121

Please sign in to comment.