discourse/app/assets/stylesheets/common/form-kit/_control-composer.scss
Jarek Radosz be513ed9a3
DEV: Fix all mixed-decls sass deprecations (#31343)
```
WARNING: Sass's behavior for declarations that appear after nested
rules will be changing to match the behavior specified by CSS in an upcoming
version. To keep the existing behavior, move the declaration above the nested
rule. To opt into the new behavior, wrap the declaration in `& {}`.

More info: https://sass-lang.com/d/mixed-decls
```
2025-02-13 23:58:19 +01:00

33 lines
520 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;
}
}