diff --git a/Admin/PostGrid/Infrastructure/FieldMapping/PostGridFieldMapper.php b/Admin/PostGrid/Infrastructure/FieldMapping/PostGridFieldMapper.php index d7508f60..8dd935d3 100644 --- a/Admin/PostGrid/Infrastructure/FieldMapping/PostGridFieldMapper.php +++ b/Admin/PostGrid/Infrastructure/FieldMapping/PostGridFieldMapper.php @@ -81,7 +81,8 @@ final class PostGridFieldMapper implements FieldMapperInterface 'postGridPaginationActiveColor' => ['group' => 'colors', 'attribute' => 'pagination_active_color'], // Spacing - 'postGridGridGap' => ['group' => 'spacing', 'attribute' => 'grid_gap'], + 'postGridGapHorizontal' => ['group' => 'spacing', 'attribute' => 'gap_horizontal'], + 'postGridGapVertical' => ['group' => 'spacing', 'attribute' => 'gap_vertical'], 'postGridCardPadding' => ['group' => 'spacing', 'attribute' => 'card_padding'], 'postGridSectionMarginTop' => ['group' => 'spacing', 'attribute' => 'section_margin_top'], 'postGridSectionMarginBottom' => ['group' => 'spacing', 'attribute' => 'section_margin_bottom'], diff --git a/Admin/PostGrid/Infrastructure/Ui/PostGridFormBuilder.php b/Admin/PostGrid/Infrastructure/Ui/PostGridFormBuilder.php index c9c4e396..4ad8a83f 100644 --- a/Admin/PostGrid/Infrastructure/Ui/PostGridFormBuilder.php +++ b/Admin/PostGrid/Infrastructure/Ui/PostGridFormBuilder.php @@ -207,11 +207,11 @@ final class PostGridFormBuilder // Columns desktop $colsDesktop = $this->renderer->getFieldValue($componentId, 'layout', 'columns_desktop', '3'); $html .= '
'; - $html .= '