Skip to content

Commit bb534df

Browse files
author
Douglas Fabris
authored
fix: Badge and Tag Style (#343)
1 parent f77ae41 commit bb534df

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/fuselage/src/components/Badge/styles.scss

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ $badge-colors-disabled-background-color: theme('badge-colors-disabled-background
2323
.rcx-badge {
2424
display: flex;
2525
overflow: hidden;
26+
justify-content: center;
2627

2728
width: fit-content;
2829
min-width: lengths.size(16);

packages/fuselage/src/components/Tag/styles.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ $tag-colors-disabled-color: theme('tag-colors-disabled-color', colors.foreground
2121
$tag-colors-disabled-background-color: theme('tag-colors-disabled-background-color', colors.neutral(400));
2222

2323
.rcx-tag {
24-
display: inline-block;
24+
display: flex;
2525
overflow: hidden;
26+
justify-content: center;
2627

2728
width: fit-content;
2829

0 commit comments

Comments
 (0)