diff --git a/changelog/_8466.md b/changelog/_8466.md new file mode 100644 index 0000000000..52ecd4e605 --- /dev/null +++ b/changelog/_8466.md @@ -0,0 +1,11 @@ +### Removed + +- Removed unused `.live_questions__char-count` and `.live_questions__anchor` classes + +### Changed + +- Changed `CategorySelect` and `QuestionForm` CSS classes to [styleguide.berlin.de form classes](https://styleguide.berlin.de/patterns/09-vertical_marketing-page-element-forms/09-vertical_marketing-page-element-forms.html) + +### Added + +- Added `.form-check-input` styling overrides diff --git a/meinberlin/assets/scss/components/_live_questions.scss b/meinberlin/assets/scss/components/_live_questions.scss index 5585c0f108..93907ea1f0 100644 --- a/meinberlin/assets/scss/components/_live_questions.scss +++ b/meinberlin/assets/scss/components/_live_questions.scss @@ -204,16 +204,3 @@ min-width: 15rem; } } - -.live_questions__char-count { - color: $gray-lighter; - font-size: $font-size-sm; - margin-top: -0.75 * $spacer; - margin-bottom: $spacer; -} - -.live_questions__anchor { - position: relative; - bottom: -7 * $spacer; - margin-bottom: 7 * $spacer; -} diff --git a/meinberlin/assets/scss/styles_user_facing/_form.scss b/meinberlin/assets/scss/styles_user_facing/_form.scss index 93d8ea7120..9640539e26 100644 --- a/meinberlin/assets/scss/styles_user_facing/_form.scss +++ b/meinberlin/assets/scss/styles_user_facing/_form.scss @@ -23,6 +23,16 @@ button { } } +.form-check:has(.form-check-input) { + display: flex; +} + +.form-check-input { + flex: 0 0 auto; + float: none !important; + margin-left: 0 !important; +} + textarea.form-control { resize: vertical; } diff --git a/meinberlin/react/livequestions/CategorySelect.jsx b/meinberlin/react/livequestions/CategorySelect.jsx index 996492b4c0..6b746620e3 100644 --- a/meinberlin/react/livequestions/CategorySelect.jsx +++ b/meinberlin/react/livequestions/CategorySelect.jsx @@ -21,7 +21,7 @@ export const CategorySelect = (props) => {