mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
UX: Fix reply where modal layout (#11990)
This commit is contained in:
parent
2695f7dae8
commit
13dba16e7b
@ -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 = [
|
||||
{
|
||||
|
@ -294,22 +294,32 @@
|
||||
}
|
||||
|
||||
.reply-where-modal {
|
||||
.modal-footer {
|
||||
a {
|
||||
display: block;
|
||||
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: 0.75em;
|
||||
font-weight: bold;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
&:first-of-type {
|
||||
margin-top: 0.25em;
|
||||
}
|
||||
.d-modal-cancel {
|
||||
margin: 1em 0 0.5em;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
.topic-title {
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user