mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-28 17:56:37 +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 className="flex flex-1 sm:justify-center">
|
||||
<div className="flex items-center gap-x-2">
|
||||
<PollPageIcon />
|
||||
<PollPageIcon size="sm" />
|
||||
<div className="flex items-baseline gap-x-8">
|
||||
<h1 className="font-semibold">
|
||||
<Trans t={t} i18nKey="poll" defaults="Poll" />
|
||||
|
|
|
@ -38,7 +38,7 @@ export function PayWallDialog({ children, ...forwardedProps }: DialogProps) {
|
|||
return (
|
||||
<Dialog {...dialog.dialogProps} {...forwardedProps}>
|
||||
{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" />
|
||||
<div className="space-y-6">
|
||||
<header>
|
||||
|
@ -73,7 +73,7 @@ export function PayWallDialog({ children, ...forwardedProps }: DialogProps) {
|
|||
</DialogDescription>
|
||||
</header>
|
||||
<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>
|
||||
<CheckIcon className="mr-2 inline-block size-4 text-green-600" />
|
||||
<Trans i18nKey="featureNameFinalize" defaults="Finalize Poll" />
|
||||
|
|
Loading…
Add table
Reference in a new issue