Skip to content

Commit

Permalink
fix sponsor button css
Browse files Browse the repository at this point in the history
  • Loading branch information
KMKoushik committed Sep 6, 2024
1 parent 43f5527 commit d571280
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/components/AddExpense/AddExpensePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -355,11 +355,13 @@ export const AddExpensePage: React.FC<{ isStorageConfigured: boolean }> = ({
onChange={(e) => onUpdateAmount(e.target.value)}
/>
</div>
{!amount || description === '' ? null : (
<>
{!amount || description === '' ? (
<div className="h-[180px]"></div>
) : (
<div className="h-[180px]">
<SplitTypeSection />

<div className="mt-4 flex items-center justify-between">
<div className="mt-4 flex items-center justify-between">
<div className="flex items-center gap-4">
<Popover>
<PopoverTrigger asChild>
Expand Down Expand Up @@ -411,17 +413,17 @@ export const AddExpensePage: React.FC<{ isStorageConfigured: boolean }> = ({
</Button>
</div>
</div>
</>
</div>
)}
<div className="absolute bottom-[100px] mx-auto flex w-full justify-center">
<div className=" flex w-full justify-center">
<Link
href="https://github.com/sponsors/KMKoushik"
target="_blank"
className="rounded-full border border-pink-500 px-5"
className="mx-auto"
>
<Button
variant="ghost"
className="text-md w-full justify-between px-0 hover:text-foreground/80"
variant="outline"
className="text-md justify-between rounded-full border-pink-500 hover:text-foreground/80"
>
<div className="flex items-center gap-4">
<HeartHandshakeIcon className="h-5 w-5 text-pink-500" />
Expand Down

0 comments on commit d571280

Please sign in to comment.