Footer next button fix

This commit is contained in:
adilallo
2026-02-28 21:47:27 -07:00
parent b2ed1d438c
commit f5bfb25f5e
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -59,12 +59,18 @@ function CreateFlowLayoutContent({ children }: { children: ReactNode }) {
const previousStep = getPreviousStep(); const previousStep = getPreviousStep();
const handleNext = () => { const handleNext = () => {
if (typeof document !== "undefined" && document.activeElement instanceof HTMLElement) {
document.activeElement.blur();
}
if (nextStep) { if (nextStep) {
router.push(`/create/${nextStep}`); router.push(`/create/${nextStep}`);
} }
}; };
const handleBack = () => { const handleBack = () => {
if (typeof document !== "undefined" && document.activeElement instanceof HTMLElement) {
document.activeElement.blur();
}
if (previousStep) { if (previousStep) {
router.push(`/create/${previousStep}`); router.push(`/create/${previousStep}`);
} }
+1 -1
View File
@@ -7,7 +7,7 @@ import RuleCard from "../../components/cards/RuleCard";
export default function ReviewPage() { export default function ReviewPage() {
return ( return (
<div className="w-full max-w-[1280px] shrink-0 px-5 md:px-16"> <div className="w-full max-w-[1280px] shrink-0 px-5 md:px-16">
<div className="flex w-full flex-col gap-4 min-w-0 sm:grid sm:grid-cols-2 sm:gap-12"> <div className="flex w-full flex-col gap-4 min-w-0 sm:grid sm:grid-cols-2 sm:gap-[var(--measures-spacing-1200,48px)]">
<div className="min-w-0"> <div className="min-w-0">
<HeaderLockup <HeaderLockup
title="Your community is added - congrats!" title="Your community is added - congrats!"