mirror of
https://github.com/discourse/discourse.git
synced 2025-03-01 19:17:59 +08:00

- `@height` was supported but not working correctly, this is now fixed and tested - `@preview` was not supported, we would always hide the preview in form kit. You now have control over this, default `false`.
32 lines
511 B
SCSS
32 lines
511 B
SCSS
.form-kit__control-composer {
|
|
// same default effective height (150px) than a text control
|
|
height: 189px;
|
|
width: 100%;
|
|
|
|
.d-editor-preview-wrapper {
|
|
display: none;
|
|
}
|
|
|
|
&.--preview {
|
|
.d-editor-preview-wrapper {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.d-editor-button-bar {
|
|
> .btn {
|
|
border-radius: 0;
|
|
}
|
|
}
|
|
|
|
.d-editor-textarea-wrapper {
|
|
@include default-input;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
.d-editor-input {
|
|
// same padding than a text control
|
|
padding: 0.5em;
|
|
}
|
|
}
|