diff --git a/src/components/Componentes/question-checkbox.tsx b/src/components/Componentes/question-checkbox.tsx index 6c2c59d..59c4224 100644 --- a/src/components/Componentes/question-checkbox.tsx +++ b/src/components/Componentes/question-checkbox.tsx @@ -113,9 +113,10 @@ export function QuestionCheckbox({ ); }; + // Render horizontally only for 2-option binary choices const isShortOptions = - options.length <= 4 && - options.every((opt) => String(opt.label || opt.value || "").length <= 15); + options.length <= 2 && + options.every((opt) => String(opt.label || opt.value || "").length <= 10); return (
String(opt.label || opt.value || "").length <= 15); + options.length <= 2 && + options.every((opt) => String(opt.label || opt.value || "").length <= 10); return (