Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions frontend/src/components/GuestCredentialsDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export function GuestCredentialsDialog({
return (
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent
className="sm:max-w-[500px] [&>button]:hidden"
className="max-w-[calc(100vw-2rem)] sm:max-w-[500px] max-h-[calc(100vh-2rem)] overflow-y-auto [&>button]:hidden"
onInteractOutside={(e) => e.preventDefault()}
onEscapeKeyDown={(e) => e.preventDefault()}
>
Expand Down Expand Up @@ -88,7 +88,7 @@ export function GuestCredentialsDialog({
Your Account ID
</Label>
<div className="flex gap-2">
<Input id="uuid" value={uuid} readOnly className="font-mono text-sm" />
<Input id="uuid" value={uuid} readOnly className="font-mono text-xs sm:text-sm" />
<Button
type="button"
variant="outline"
Expand Down Expand Up @@ -128,7 +128,7 @@ export function GuestCredentialsDialog({
/>
<Label
htmlFor="backed-up"
className="text-sm font-medium leading-relaxed cursor-pointer"
className="text-sm font-medium leading-relaxed cursor-pointer break-words"
>
I have securely saved my Account ID and understand I cannot recover my account without
it
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/GuestPaymentWarningDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function GuestPaymentWarningDialog({ open, onOpenChange }: GuestPaymentWa
return (
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent
className="sm:max-w-[425px] [&>button]:hidden"
className="max-w-[calc(100vw-2rem)] sm:max-w-[425px] [&>button]:hidden"
onInteractOutside={(e) => e.preventDefault()}
onEscapeKeyDown={(e) => e.preventDefault()}
>
Expand Down
14 changes: 7 additions & 7 deletions frontend/src/components/GuestSignupWarningDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function GuestSignupWarningDialog({

return (
<Dialog open={open} onOpenChange={onOpenChange}>
<DialogContent className="sm:max-w-[550px] [&>button]:hidden">
<DialogContent className="max-w-[calc(100vw-2rem)] sm:max-w-[550px] max-h-[calc(100vh-2rem)] overflow-y-auto [&>button]:hidden">
<DialogHeader>
<DialogTitle className="flex items-center gap-2 text-amber-600 dark:text-amber-500">
<AlertTriangle className="w-5 h-5" />
Expand All @@ -63,10 +63,10 @@ export function GuestSignupWarningDialog({
setBitcoinPaymentAgreed(checked === true)
}
/>
<div className="grid gap-1.5 leading-none">
<div className="grid gap-1.5 leading-none flex-1">
<Label
htmlFor="bitcoin-payment"
className="text-sm font-medium leading-relaxed cursor-pointer"
className="text-sm font-medium leading-relaxed cursor-pointer break-words"
>
I understand I <strong>MUST pay for a full year in Bitcoin only</strong>. No
credit card, no Stripe, no monthly payment options, and{" "}
Expand All @@ -84,10 +84,10 @@ export function GuestSignupWarningDialog({
setNoSupportAgreed(checked === true)
}
/>
<div className="grid gap-1.5 leading-none">
<div className="grid gap-1.5 leading-none flex-1">
<Label
htmlFor="no-support"
className="text-sm font-medium leading-relaxed cursor-pointer"
className="text-sm font-medium leading-relaxed cursor-pointer break-words"
>
I understand there is <strong>absolutely no support</strong> available for
anonymous accounts. If I have issues, I cannot contact support for help.
Expand All @@ -104,10 +104,10 @@ export function GuestSignupWarningDialog({
setBackupCredentialsAgreed(checked === true)
}
/>
<div className="grid gap-1.5 leading-none">
<div className="grid gap-1.5 leading-none flex-1">
<Label
htmlFor="backup-credentials"
className="text-sm font-medium leading-relaxed cursor-pointer"
className="text-sm font-medium leading-relaxed cursor-pointer break-words"
>
I understand I <strong>MUST backup my Account ID</strong> after signup. My Account
ID will only be shown once, and if I lose it, I will permanently lose access to my
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/VerificationModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function VerificationModal() {

return (
<Dialog open={isOpen} onOpenChange={handleOpenChange}>
<DialogContent className="sm:max-w-[425px] [&>button]:hidden">
<DialogContent className="max-w-[calc(100vw-2rem)] sm:max-w-[425px] [&>button]:hidden">
<DialogHeader>
<DialogTitle>Verify Your Email</DialogTitle>
<DialogDescription>
Expand Down
Loading