UX: Fix reply where modal layout (#11990)

This commit is contained in:
Kris 2021-02-04 22:37:02 -05:00 committed by GitHub
parent 2695f7dae8
commit 13dba16e7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 16 deletions

View File

@ -689,7 +689,8 @@ export default Controller.extend({
} }
if (currentTopic.id !== composer.get("topic.id")) { if (currentTopic.id !== composer.get("topic.id")) {
const message = I18n.t("composer.posting_not_on_topic"); const message =
"<h1>" + I18n.t("composer.posting_not_on_topic") + "</h1>";
let buttons = [ let buttons = [
{ {

View File

@ -294,22 +294,32 @@
} }
.reply-where-modal { .reply-where-modal {
.modal-footer { max-width: 400px;
a {
display: block; h1 {
margin: 0;
font-size: $font-up-2;
}
.d-modal-cancel {
width: 100%;
margin: 0.5em 0;
}
.btn {
display: block;
text-align: left;
font-size: $font-up-1;
line-height: $line-height-medium;
margin-bottom: 0.75em;
font-weight: bold;
overflow: hidden;
width: 100%;
&:first-of-type {
margin-top: 0.25em;
} }
.d-modal-cancel { .topic-title {
margin: 1em 0 0.5em; font-weight: normal;
}
.btn {
text-align: left;
font-size: $font-up-2;
line-height: $line-height-medium;
margin-bottom: 10px;
font-weight: bold;
.topic-title {
font-weight: normal;
}
} }
} }
} }