Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc275ca5

Browse files
fix: resolve deletion pending badge text overflow
Fixes#17927 by changing badge size from 'xs' to 'sm' in WorkspaceDormantBadgecomponent. The 'xs' size had insufficient padding (px-1.5) and height (h-5) toproperly contain the 'Deletion Pending' text, causing visual overflow.The 'sm' size provides adequate space with h-5.5 height and px-2 padding,consistent with other destructive variant badges in the codebase.Co-authored-by: kylecarbs <7122116+kylecarbs@users.noreply.github.com>
1 parent44fff54 commitc275ca5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎site/src/modules/workspaces/WorkspaceDormantBadge/WorkspaceDormantBadge.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const WorkspaceDormantBadge: FC<WorkspaceDormantBadgeProps> = ({
2626
</>
2727
}
2828
>
29-
<Badgerole="status"variant="destructive"size="xs">
29+
<Badgerole="status"variant="destructive"size="sm">
3030
Deletion Pending
3131
</Badge>
3232
</Tooltip>
@@ -41,7 +41,7 @@ export const WorkspaceDormantBadge: FC<WorkspaceDormantBadgeProps> = ({
4141
</>
4242
}
4343
>
44-
<Badgerole="status"variant="warning"size="xs">
44+
<Badgerole="status"variant="warning"size="sm">
4545
Dormant
4646
</Badge>
4747
</Tooltip>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp