discourse/app/assets/stylesheets/common/form-kit/_row.scss
Joffrey JAFFEUX b6b0d68576
DEV: various form-kit tweaks (#27950)
- removes unused css code
- improves password control sizing
- adds more spacing between collection items
- correct a typo in collection class

---------

Co-authored-by: chapoi <101828855+chapoi@users.noreply.github.com>
2024-07-17 20:18:19 +02:00

37 lines
693 B
SCSS

.form-kit__row {
display: flex;
flex-wrap: wrap;
margin-right: calc(-0.5 * var(--form-kit-gutter-x));
margin-left: calc(-0.5 * var(--form-kit-gutter-x));
row-gap: calc(var(--form-kit-gutter-y) + 1.75em);
padding-top: 1.75em;
> * {
flex-shrink: 0;
padding-right: calc(var(--form-kit-gutter-x) * 0.5);
padding-left: calc(var(--form-kit-gutter-x) * 0.5);
}
> *:not(.col-*) {
width: 100%;
}
.form-kit__container-content {
width: 100% !important;
}
.form-kit__col:not(:has(.form-kit__button)) {
position: relative;
}
.form-kit__button {
height: 2em;
}
.form-kit__container-title {
position: absolute;
top: -1.75em;
}
}