Skip to content

Commit

Permalink
fix(boost): card text align center
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <[email protected]>
  • Loading branch information
Innei committed Oct 26, 2024
1 parent ad86372 commit 632d5d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/renderer/src/modules/boost/radio-cards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ export const RadioCards = ({
wrapperClassName="justify-center"
value={(item.value * monthlyBoostCost).toString()}
label={
<div>
<h3 className="pr-3 font-medium leading-none">
<div className="text-center">
<h3 className="text-sm font-medium leading-none">
{dayjs.duration(item.value, "months").humanize()}
</h3>
<p className="mt-1 flex items-center justify-center gap-1 text-sm text-theme-vibrancyFg">
<p className="mt-0.5 flex items-center justify-center gap-1 text-sm text-theme-vibrancyFg">
{item.value * monthlyBoostCost}
<i className="i-mgc-power text-accent" />
</p>
Expand Down

0 comments on commit 632d5d4

Please sign in to comment.