mirror of
https://github.com/discourse/discourse.git
synced 2025-02-10 05:14:59 +00:00
59 lines
1.0 KiB
SCSS
59 lines
1.0 KiB
SCSS
|
// .form-kit__row {
|
||
|
// display: grid;
|
||
|
// grid-auto-flow: column;
|
||
|
// column-gap: 0.5em;
|
||
|
// row-gap: 0.25em;
|
||
|
// max-width: 100%;
|
||
|
|
||
|
// .form-kit__col,
|
||
|
// .form-kit__container {
|
||
|
// display: contents;
|
||
|
// }
|
||
|
|
||
|
// .form-kit__container-content {
|
||
|
// width: auto !important;
|
||
|
// }
|
||
|
|
||
|
// .form-kit__button {
|
||
|
// grid-row: 2;
|
||
|
// height: 2em;
|
||
|
// }
|
||
|
// }
|
||
|
|
||
|
.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;
|
||
|
}
|
||
|
}
|