Skip to content

Commit

Permalink
fix(fuselage): Bubble missing font-family (#1372)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliajforesti committed May 2, 2024
1 parent f1f7359 commit 3b6daee
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/shaggy-foxes-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": patch
---

fix(fuselage): `Bubble` missing font-family
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 @@ -19,7 +19,7 @@ export const BubbleButton = ({
...props
}: BubbleButtonProps) => (
<button
className={`rcx-bubble__button ${
className={`rcx-box rcx-box--full rcx-bubble__button ${
secondary
? 'rcx-bubble__button--secondary'
: 'rcx-bubble__button--primary'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`[Bubble Rendering] renders Dismissable without crashing 1`] = `
class="rcx-bubble rcx-box rcx-box--full rcx-bubble__group "
>
<button
class="rcx-bubble__button rcx-bubble__button--primary"
class="rcx-box rcx-box--full rcx-bubble__button rcx-bubble__button--primary"
>
<i
aria-hidden="true"
Expand All @@ -21,7 +21,7 @@ exports[`[Bubble Rendering] renders Dismissable without crashing 1`] = `
</button>
<button
aria-label="Dismiss New messages"
class="rcx-bubble__button rcx-bubble__button--primary"
class="rcx-box rcx-box--full rcx-bubble__button rcx-bubble__button--primary"
>
<i
aria-hidden="true"
Expand All @@ -42,7 +42,7 @@ exports[`[Bubble Rendering] renders IconAndLabel without crashing 1`] = `
class="rcx-bubble rcx-box rcx-box--full "
>
<button
class="rcx-bubble__button rcx-bubble__button--primary"
class="rcx-box rcx-box--full rcx-bubble__button rcx-bubble__button--primary"
>
<i
aria-hidden="true"
Expand All @@ -66,7 +66,7 @@ exports[`[Bubble Rendering] renders LabelOnly without crashing 1`] = `
class="rcx-bubble rcx-box rcx-box--full "
>
<button
class="rcx-bubble__button rcx-bubble__button--primary"
class="rcx-box rcx-box--full rcx-bubble__button rcx-bubble__button--primary"
>
<span>
See new messages
Expand All @@ -84,7 +84,7 @@ exports[`[Bubble Rendering] renders Secondary without crashing 1`] = `
class="rcx-bubble rcx-box rcx-box--full "
>
<button
class="rcx-bubble__button rcx-bubble__button--secondary"
class="rcx-box rcx-box--full rcx-bubble__button rcx-bubble__button--secondary"
>
<span>
See new messages
Expand All @@ -110,7 +110,7 @@ exports[`[Bubble Rendering] renders SecondaryDismissable without crashing 1`] =
</span>
<button
aria-label="Dismiss New messages"
class="rcx-bubble__button rcx-bubble__button--secondary"
class="rcx-box rcx-box--full rcx-bubble__button rcx-bubble__button--secondary"
>
<i
aria-hidden="true"
Expand Down

0 comments on commit 3b6daee

Please sign in to comment.