Align cancel button with other dialogs

This commit is contained in:
0x464e 2026-04-05 14:44:18 +03:00
parent e10d816798
commit 390700edb8
No known key found for this signature in database
GPG Key ID: E6D221DF6CBFBFFA

View File

@ -199,7 +199,7 @@ export function ShareTimestampContent({
className={cn("mt-4", !isDesktop && "flex flex-col-reverse gap-4")} className={cn("mt-4", !isDesktop && "flex flex-col-reverse gap-4")}
> >
{onCancel && ( {onCancel && (
<Button <button
type="button" type="button"
className={cn( className={cn(
"cursor-pointer p-2 text-center", "cursor-pointer p-2 text-center",
@ -208,7 +208,7 @@ export function ShareTimestampContent({
onClick={onCancel} onClick={onCancel}
> >
{t("button.cancel", { ns: "common" })} {t("button.cancel", { ns: "common" })}
</Button> </button>
)} )}
<Button <Button
className={cn(!isDesktop && "w-full")} className={cn(!isDesktop && "w-full")}