discourse/app/assets/stylesheets/common/base/revise-and-reject-post-reviewable.scss
chapoi ada0aa0d4e
UX: modal modifier class BEM rename + new modifier (#40369)
- Renames .d-modal modifiers from single-dash (-large, -max) to --large,
--max across SCSS, <DModal>, and all callers (core +
discourse-local-dates plugin) to match Discourse's BEM convention.
- Moves per-modal overrides out of modal.scss into the dedicated
modal-overrides.scss file
- Add new `has-search` modifier, for use in modals with a inline
filter/search element to avoid jumping height
- Move all core `.modal selectors` to `.d-modal`

This commit should not change anything visually (if all goes well).
2026-05-28 17:36:48 +02:00

28 lines
494 B
SCSS
Vendored

.d-modal.revise-and-reject-reviewable {
.revise-and-reject-reviewable__optional {
margin-left: 0.5em;
color: var(--primary-low-mid);
}
.revise-and-reject-reviewable__custom-reason {
width: 100%;
}
.revise-and-reject-reviewable__queued-post {
@extend .reviewable-item;
padding: 1em;
margin: 0 0 1em 0;
.post-topic .title-text {
font-size: var(--font-up-1);
}
.post-body {
margin: 0;
p {
margin: 0;
}
}
}
}