Skip to content

yml-layout: Rework the margins

Valentin Valls requested to merge yml-layout-style into main

This PR rework the yml-layout as dedicated style in order to improve the alignments between the components.

It's a first step to handle properly the resize of all the components.

  • It mostly uses gap property and a padding on the main component.
  • Sub components don't use at all any padding/margin.

Row/cols:

Before: Including 4 levels (row/col/row/col)

image

After: Notice that every gaps have the same size

image

Grid

Before: Notice that the gaps could have different size.

image

After: Notice that every gaps have the same size.

image

Tabs

Before

image

After

image

Edited by Valentin Valls

Merge request reports

Loading