mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 13:23:38 +08:00
56 lines
967 B
SCSS
56 lines
967 B
SCSS
|
.form-kit__field {
|
||
|
.form-kit__container-content {
|
||
|
align-items: flex-start;
|
||
|
flex-direction: column;
|
||
|
width: var(--form-kit-medium-input);
|
||
|
}
|
||
|
|
||
|
&-textarea,
|
||
|
&-composer,
|
||
|
&-code,
|
||
|
&-image {
|
||
|
.form-kit__container-content {
|
||
|
width: var(--form-kit-large-input) !important;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&-checkbox {
|
||
|
.form-kit__container-content {
|
||
|
width: 100% !important;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&-toggle {
|
||
|
flex-direction: row;
|
||
|
align-items: center;
|
||
|
justify-content: space-between;
|
||
|
width: var(--form-kit-medium-input);
|
||
|
|
||
|
.form-kit__container-content {
|
||
|
align-items: flex-end;
|
||
|
}
|
||
|
|
||
|
.form-kit__container-title {
|
||
|
padding: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.form-kit__container-content {
|
||
|
&.--small {
|
||
|
width: var(--form-kit-small-input) !important;
|
||
|
}
|
||
|
|
||
|
&.--medium {
|
||
|
width: var(--form-kit-medium-input);
|
||
|
}
|
||
|
|
||
|
&.--large {
|
||
|
width: var(--form-kit-large-input);
|
||
|
}
|
||
|
|
||
|
&.--full {
|
||
|
width: 100% !important;
|
||
|
}
|
||
|
}
|
||
|
}
|