Skip to content

Commit

Permalink
fix: fix-badges
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanjoshi914 committed May 1, 2024
1 parent 116c8ae commit f585f0c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/components/Badge/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function Badge({
return (
<div
className={classNames(
"inline-flex items-center leading-none rounded-full font-medium mr-2 py-1 pr-2 pl-3 mb-2 text-xs cursor-default",
"inline-flex items-center leading-none rounded-full font-medium py-1.5 px-2 text-xs cursor-default",
className
)}
title={description}
Expand Down
4 changes: 2 additions & 2 deletions src/app/components/BadgesList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ export default function BadgesList({ allowance }: Props) {
if (allowance.remainingBudget > 0) {
badges.push({
label: "budget",
className: "bg-blue-500 text-white",
className: "bg-blue-500 text-white mr-2",
});
}
if (allowance.lnurlAuth) {
badges.push({
label: "auth",
className: "bg-green-bitcoin text-white",
className: "bg-green-bitcoin text-white mr-2",
});
}

Expand Down
4 changes: 2 additions & 2 deletions src/app/components/SitePreferences/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function SitePreferences({ launcherType, allowance, onEdit, onDelete }: Props) {
)
);
}}
className="bg-green-50 dark:bg-emerald-950 border border-green-100 dark:border-emerald-900 text-gray-800 dark:text-neutral-200 gap-1"
className="bg-green-50 dark:bg-emerald-950 border border-green-100 dark:border-emerald-900 text-gray-800 dark:text-neutral-200 mr-2 mb-2"
/>
</>
))}
Expand Down Expand Up @@ -319,7 +319,7 @@ function SitePreferences({ launcherType, allowance, onEdit, onDelete }: Props) {
)
);
}}
className="bg-red-50 dark:bg-red-950 border border-red-100 dark:border-red-900 text-gray-800 dark:text-neutral-200 gap-1"
className="bg-red-50 dark:bg-red-950 border border-red-100 dark:border-red-900 text-gray-800 dark:text-neutral-200 mr-2 mb-2"
/>
</>
))}
Expand Down

0 comments on commit f585f0c

Please sign in to comment.