fix: email verify survey question preview (#6474)

This commit is contained in:
Dhruwang Jariwala
2025-08-29 11:16:14 +05:30
committed by GitHub
parent 182f674879
commit eeb337521b

View File

@@ -170,7 +170,7 @@ export const VerifyEmail = ({
{!emailSent && showPreviewQuestions && (
<div>
<p className="text-2xl font-bold">{t("s.question_preview")}</p>
<div className="mt-4 flex w-full flex-col justify-center rounded-lg border border-slate-200 bg-slate-50 bg-opacity-20 p-8 text-slate-700">
<div className="mt-4 flex max-h-[50vh] w-full flex-col overflow-y-auto rounded-lg border border-slate-200 bg-slate-50 bg-opacity-20 p-4 text-slate-700">
{localSurvey.questions.map((question, index) => (
<p
key={index}