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")) {
const message = I18n.t("composer.posting_not_on_topic");
const message =
"<h1>" + I18n.t("composer.posting_not_on_topic") + "</h1>";
let buttons = [
{

View File

@ -294,25 +294,35 @@
}
.reply-where-modal {
.modal-footer {
a {
display: block;
}
.d-modal-cancel {
margin: 1em 0 0.5em;
}
.btn {
text-align: left;
max-width: 400px;
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: 10px;
margin-bottom: 0.75em;
font-weight: bold;
overflow: hidden;
width: 100%;
&:first-of-type {
margin-top: 0.25em;
}
.topic-title {
font-weight: normal;
}
}
}
}
.d-modal-cancel {
margin-left: 1em;