Skip to content

Commit

Permalink
fix(tip-modal): radio cards align center
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <tukon479@gmail.com>
  • Loading branch information
Innei committed Dec 4, 2024
1 parent 322435a commit 6f041f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/renderer/src/modules/boost/radio-cards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ export const RadioCards = ({
{radios.map((item) => (
<RadioCard
key={item.value}
wrapperClassName="justify-center"
wrapperClassName="justify-center py-2.5"
value={(item.value * monthlyBoostCost).toString()}
label={
<div className="text-center">
<h3 className="text-sm font-medium leading-none">
{dayjs.duration(item.value, "months").humanize()}
</h3>
<p className="mt-0.5 flex items-center justify-center gap-1 text-sm text-theme-vibrancyFg">
<p className="mt-1 flex items-center justify-center gap-1 text-xs leading-none text-theme-vibrancyFg">
{item.value * monthlyBoostCost}
<i className="i-mgc-power text-accent" />
</p>
Expand Down

0 comments on commit 6f041f9

Please sign in to comment.