Skip to content

Commit 189f8a0

Browse files
committed
right-align the badge popups for better screenshots.
1 parent 7db63a0 commit 189f8a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Badge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const Badge = ({ text, type, data }: BadgeProps) => {
6060
{PopupComponent && data && (
6161
<div
6262
className={twMerge(
63-
"absolute top-full z-10 w-30 rounded border px-2 py-1 text-left text-xs shadow-lg",
63+
"absolute top-full right-0 z-10 w-30 rounded border px-2 py-1 text-left text-xs shadow-lg",
6464
typeColors[type]
6565
)}
6666
>

0 commit comments

Comments
 (0)