mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-07 13:11:49 +02:00
💄 Left align text in upgrade button
This commit is contained in:
parent
9bbd8e0790
commit
ef4342cdd0
1 changed files with 13 additions and 15 deletions
|
@ -108,12 +108,11 @@ export function Sidebar() {
|
||||||
<li>
|
<li>
|
||||||
<PayWallDialog>
|
<PayWallDialog>
|
||||||
<DialogTrigger
|
<DialogTrigger
|
||||||
|
className="mb-4 flex w-full flex-col rounded-md border bg-gray-50 px-4 py-3 text-left focus:border-gray-300 focus:bg-gray-200"
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
posthog?.capture("trigger paywall", { from: "sidebar" })
|
posthog?.capture("trigger paywall", { from: "sidebar" })
|
||||||
}
|
}
|
||||||
asChild
|
|
||||||
>
|
>
|
||||||
<button className="mb-4 flex w-full flex-col rounded-md border bg-gray-50 px-4 py-3 focus:border-gray-300 focus:bg-gray-200">
|
|
||||||
<span className="mb-2 flex items-center gap-x-2">
|
<span className="mb-2 flex items-center gap-x-2">
|
||||||
<SparklesIcon className="size-5 text-gray-400" />
|
<SparklesIcon className="size-5 text-gray-400" />
|
||||||
<span className="text-sm font-bold">
|
<span className="text-sm font-bold">
|
||||||
|
@ -127,7 +126,6 @@ export function Sidebar() {
|
||||||
defaults="Unlock all Pro features."
|
defaults="Unlock all Pro features."
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</button>
|
|
||||||
</DialogTrigger>
|
</DialogTrigger>
|
||||||
</PayWallDialog>
|
</PayWallDialog>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue