diff --git a/src/defaultV2-theme/blocks/sd-table.scss b/src/defaultV2-theme/blocks/sd-table.scss index 38037d695a..cd41c2f9ab 100644 --- a/src/defaultV2-theme/blocks/sd-table.scss +++ b/src/defaultV2-theme/blocks/sd-table.scss @@ -190,6 +190,8 @@ width: calcSize(1); &:not(.sd-table__cell--drag):first-of-type { padding-left: 0; + width: calcSize(5); + min-width: calcSize(5); } } diff --git a/visualRegressionTests/tests/defaultV2/etalons/question-matrix-dropdown-detail-no-header-expanded.png b/visualRegressionTests/tests/defaultV2/etalons/question-matrix-dropdown-detail-no-header-expanded.png new file mode 100644 index 0000000000..4d3f08d1be Binary files /dev/null and b/visualRegressionTests/tests/defaultV2/etalons/question-matrix-dropdown-detail-no-header-expanded.png differ diff --git a/visualRegressionTests/tests/defaultV2/etalons/question-matrix-dropdown-detail-no-header.png b/visualRegressionTests/tests/defaultV2/etalons/question-matrix-dropdown-detail-no-header.png new file mode 100644 index 0000000000..aa81c80994 Binary files /dev/null and b/visualRegressionTests/tests/defaultV2/etalons/question-matrix-dropdown-detail-no-header.png differ diff --git a/visualRegressionTests/tests/defaultV2/matrix.ts b/visualRegressionTests/tests/defaultV2/matrix.ts index 2a1159fc93..dfc9ff8a64 100644 --- a/visualRegressionTests/tests/defaultV2/matrix.ts +++ b/visualRegressionTests/tests/defaultV2/matrix.ts @@ -364,6 +364,13 @@ frameworks.forEach(framework => { await takeElementScreenshot("question-matrix-dropdown-detail-expanded.png", questionRoot, t, comparer); + await ClientFunction(() => { window["survey"].getQuestionByName("q").showHeader = false; })(); + await takeElementScreenshot("question-matrix-dropdown-detail-no-header-expanded.png", questionRoot, t, comparer); + + await t.click(Selector(".sd-table__cell--detail-button").filterVisible().nth(1)); + await t.hover(questionRoot, { offsetX: 1, offsetY: 1 }); + + await takeElementScreenshot("question-matrix-dropdown-detail-no-header.png", questionRoot, t, comparer); }); });