discourse/app/assets/stylesheets/common/form-kit/_control-composer.scss
David Taylor d88ee33eb6
DEV: Introduce stylelint (#29852)
Stylelint is a css linter: https://stylelint.io/

As part of this change we have added two javascript scripts:

```
pnpm lint:css
pnpm lint:css:fix
```

Look at `.vscode/settings.json.sample` and `.vscode/extensions.json` for
configuration in VSCode.

---------

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2025-01-20 15:27:42 +00:00

26 lines
430 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;
}
.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;
}
}