mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 16:12:45 +08:00
UX: Cancel button looked ugly on post warning modal
This commit is contained in:
parent
4ae66c9e01
commit
85eae96a11
|
@ -430,7 +430,7 @@ export default Ember.Controller.extend({
|
|||
|
||||
let buttons = [{
|
||||
"label": I18n.t("composer.cancel"),
|
||||
"class": "cancel",
|
||||
"class": "d-modal-cancel",
|
||||
"link": true
|
||||
}];
|
||||
|
||||
|
|
|
@ -227,6 +227,12 @@
|
|||
|
||||
.reply-where-modal {
|
||||
.modal-footer {
|
||||
a {
|
||||
display: block;
|
||||
}
|
||||
.d-modal-cancel {
|
||||
margin-top: 1em;
|
||||
}
|
||||
.btn {
|
||||
text-align: left;
|
||||
font-size: 1.286em;
|
||||
|
@ -241,7 +247,7 @@
|
|||
font-weight: normal;
|
||||
}
|
||||
&.btn-reply-here {
|
||||
background: $primary-low;
|
||||
background: $primary-low;
|
||||
text-shadow: none;
|
||||
color: $primary;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user