Skip to content

Commit 4f4edc9

Browse files
stephanlucasachimfritz
authored andcommitted
[BUGFIX] Set column width to fix colSpan issue in page module
Fixes: #505
1 parent 0a8fe9d commit 4f4edc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Classes/Backend/Preview/GridRenderer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public function renderGrid(array $record, PageLayoutContext $context): string
109109
// keep compatibility
110110
$view->assign('containerGrid', $grid);
111111
$view->assign('grid', $grid);
112+
$view->assign('gridColumns', array_fill(1, $grid->getSpan(), null));
112113
$view->assign('containerRecord', $record);
113114
$view->assign('context', $context);
114115
$parentGridColumnItem = $this->runtimeCache->get('tx_container_current_gridColumItem');

0 commit comments

Comments
 (0)