mirror of
https://github.com/discourse/discourse.git
synced 2024-12-29 19:13:45 +08:00
9762e65758
This commit adds a new Revise... action that can be taken for queued post reviewables. This will open a modal where the user can select a Reason from a preconfigured list (or by choosing Other..., a custom reason) and provide feedback to the user about their post. The post will be rejected still, but a PM will also be sent to the user so they have an opportunity to improve their post when they resubmit it.
47 lines
708 B
SCSS
47 lines
708 B
SCSS
.modal.revise-and-reject-reviewable {
|
|
.modal-inner-container {
|
|
max-width: 30em;
|
|
}
|
|
|
|
.modal-body {
|
|
.control-label {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.select-kit {
|
|
width: 100%;
|
|
summary {
|
|
height: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
}
|