|
@@ -108,16 +108,16 @@ const getFullModel = (model, { pageSize, columnNumber }) => {
|
|
|
if (model.optionDirection === "vertical") {
|
|
|
const optionCount = model.optionCount + 1;
|
|
|
const optionsHeight =
|
|
|
- 14 * optionCount + (optionCount - 1) * model.optionGap + 20;
|
|
|
- child.h = i ? optionsHeight : optionsHeight + 24;
|
|
|
+ 12 * optionCount + (optionCount - 1) * model.optionGap + 20;
|
|
|
+ child.h = i ? optionsHeight : optionsHeight + 34;
|
|
|
} else {
|
|
|
const optionCount =
|
|
|
model.questionDirection === "vertical"
|
|
|
? Math.min(child.questionsCount, model.questionCountPerGroup)
|
|
|
: Math.ceil(child.questionsCount / groupPerLine);
|
|
|
const optionsHeight =
|
|
|
- 14 * optionCount + (optionCount - 1) * model.questionGap + 20;
|
|
|
- child.h = i ? optionsHeight : optionsHeight + 24;
|
|
|
+ 12 * optionCount + (optionCount - 1) * model.questionGap + 20;
|
|
|
+ child.h = i ? optionsHeight : optionsHeight + 34;
|
|
|
}
|
|
|
child.minHeight = child.h;
|
|
|
|