mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-23 14:55:15 +08:00
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`.
6 lines
113 B
SCSS
Vendored
6 lines
113 B
SCSS
Vendored
.form-kit__object {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--form-kit-gutter-y);
|
|
width: 100%;
|
|
}
|