[FIX] Wiki Topic - IE / FF problem with post admin menu.
This commit is contained in:
parent
7900c7bd2f
commit
d4ae913065
|
@ -229,11 +229,9 @@ Discourse.PostMenuView = Discourse.View.extend({
|
|||
return;
|
||||
}
|
||||
|
||||
buffer.push('<button title="' + I18n.t("post.controls.admin") + '" data-action="admin" class="admin"><i class="fa fa-wrench"></i>');
|
||||
buffer.push('<button title="' + I18n.t("post.controls.admin") + '" data-action="admin" class="admin"><i class="fa fa-wrench"></i></button>');
|
||||
|
||||
this.renderAdminPopup(post, buffer);
|
||||
|
||||
buffer.push('</button>');
|
||||
},
|
||||
|
||||
renderAdminPopup: function(post, buffer) {
|
||||
|
|
|
@ -98,6 +98,10 @@ section.post-menu-area, .post-actions {
|
|||
}
|
||||
}
|
||||
|
||||
section.post-menu-area {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
nav.post-controls {
|
||||
padding: 0;
|
||||
button {
|
||||
|
|
|
@ -83,6 +83,10 @@ button {
|
|||
}
|
||||
}
|
||||
|
||||
nav.post-controls {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.post-admin-menu {
|
||||
background-color: $secondary;
|
||||
width: 205px;
|
||||
|
@ -90,7 +94,7 @@ button {
|
|||
border: 1px solid scale-color-diff();
|
||||
position: absolute;
|
||||
text-align: left;
|
||||
bottom: 0;
|
||||
bottom: -26px;
|
||||
left: 0;
|
||||
z-index: 1000;
|
||||
display: none;
|
||||
|
|
Loading…
Reference in New Issue