bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Use gap property for flex box grid gutter

Open nightloewe1 opened this issue 1 year ago • 1 comments

Prerequisites

Proposal

Bootstrap should use the gap-property to manage the gutter between the columns and rows, so that you can easily customize the padding of the rows or columns without interfering with the gutter provided by bootstrap.

Motivation and context

I sometimes get into weird problems with the grid when using custom padding/margin on the elements. The gap-property would introduce a clear distinction between padding, margin and the gutter.

nightloewe1 avatar Aug 08 '24 17:08 nightloewe1

Prerequisites

Proposal

Bootstrap should use the gap-property to manage the gutter between the columns and rows, so that you can easily customize the padding of the rows or columns without interfering with the gutter provided by bootstrap.

Motivation and context

I sometimes get into weird problems with the grid when using custom padding/margin on the elements. The gap-property would introduce a clear distinction between padding, margin and the gutter.

Yes

kumar200516 avatar Aug 14 '24 07:08 kumar200516

This is the goal for a v6 release—changing in v5 would be a breaking change.

mdo avatar Nov 15 '24 06:11 mdo