# Add "gap" settings for Container fragment as "flex row" or "flex column" layout

**URL:** <https://discuss.liferay.com/t/add-gap-settings-for-container-fragment-as-flex-row-or-flex-column-layout/393>\
**Category:** Product Ideas\
**Tags:** fragments\
**Created:** [February 27, 2026, 7:52am UTC](https://discuss.liferay.com/t/add-gap-settings-for-container-fragment-as-flex-row-or-flex-column-layout/393 "2026-02-27T07:52:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ldetomi](https://avatars.discourse-cdn.com/v4/letter/l/a6a055/32.png) [@ldetomi](https://discuss.liferay.com/u/ldetomi)\
**Post date:** [February 27, 2026, 7:52am UTC](https://discuss.liferay.com/t/add-gap-settings-for-container-fragment-as-flex-row-or-flex-column-layout/393/1 "2026-02-27T07:52:47Z")

</div>

**What is the problem you are trying to solve?**

Actually, a Container fragments can be set as “Flex” and in this way is possible to set many other css flex features like flex-wrap, align-items and so on.

It miss the “gap” feature that is quite always useful to improve layouts. Margins on specific items is a workaround not so optimized especially in responsive mode.

**What is your project about? (e. g. Intranet, Partner Portal, Enterprise Website, etc)**

All

**What is your proposed solution? (optional)**

Simply add anothe possible configuration for “flex containers”, called as GAP
