mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-23 11:17:26 +02:00
💄 Fix paywall dialog mobile width (#1675)
This commit is contained in:
parent
5c2bb835e5
commit
e5e30f00b8
2 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,7 @@ export default async function Page({ params }: { params: Params }) {
|
||||||
</div>
|
</div>
|
||||||
<div className="flex flex-1 sm:justify-center">
|
<div className="flex flex-1 sm:justify-center">
|
||||||
<div className="flex items-center gap-x-2">
|
<div className="flex items-center gap-x-2">
|
||||||
<PollPageIcon />
|
<PollPageIcon size="sm" />
|
||||||
<div className="flex items-baseline gap-x-8">
|
<div className="flex items-baseline gap-x-8">
|
||||||
<h1 className="font-semibold">
|
<h1 className="font-semibold">
|
||||||
<Trans t={t} i18nKey="poll" defaults="Poll" />
|
<Trans t={t} i18nKey="poll" defaults="Poll" />
|
||||||
|
|
|
@ -38,7 +38,7 @@ export function PayWallDialog({ children, ...forwardedProps }: DialogProps) {
|
||||||
return (
|
return (
|
||||||
<Dialog {...dialog.dialogProps} {...forwardedProps}>
|
<Dialog {...dialog.dialogProps} {...forwardedProps}>
|
||||||
{children}
|
{children}
|
||||||
<DialogContent className="w-[600px] overflow-hidden bg-gray-50 p-4 sm:p-6">
|
<DialogContent className="w-full max-w-[600px] overflow-hidden bg-gray-50 p-4 sm:p-6">
|
||||||
<SparklesIcon className="absolute -top-4 left-4 size-32 text-gray-500/10" />
|
<SparklesIcon className="absolute -top-4 left-4 size-32 text-gray-500/10" />
|
||||||
<div className="space-y-6">
|
<div className="space-y-6">
|
||||||
<header>
|
<header>
|
||||||
|
@ -73,7 +73,7 @@ export function PayWallDialog({ children, ...forwardedProps }: DialogProps) {
|
||||||
</DialogDescription>
|
</DialogDescription>
|
||||||
</header>
|
</header>
|
||||||
<section>
|
<section>
|
||||||
<ul className="grid grid-cols-2 justify-center gap-2 text-sm font-medium">
|
<ul className="grid justify-center gap-2 text-center text-sm font-medium sm:grid-cols-2">
|
||||||
<li>
|
<li>
|
||||||
<CheckIcon className="mr-2 inline-block size-4 text-green-600" />
|
<CheckIcon className="mr-2 inline-block size-4 text-green-600" />
|
||||||
<Trans i18nKey="featureNameFinalize" defaults="Finalize Poll" />
|
<Trans i18nKey="featureNameFinalize" defaults="Finalize Poll" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue