discourse/app/assets/stylesheets/common/form-kit/_object.scss
Joffrey JAFFEUX 94e5630ec3
DEV: adds declarative options to object/container (#31934)
We often need to be able to change the format of a container and to
change the flex-direction, this is now possible through two properties:

`<form.Container @format="large">`
`<form.Container @direction="column">`

On top of this `Object` has now a similar behavior to `Collection`. It
will be displayed as flex, add gap between children and accepts
`...attributes`.
2025-03-20 14:58:54 -03:00

6 lines
113 B
SCSS
Vendored

.form-kit__object {
display: flex;
flex-direction: column;
gap: var(--form-kit-gutter-y);
width: 100%;
}