Merge pull request #2387 from velesin/wiki_topic_ie_fix

[FIX] Wiki Topic - IE / FF problem with post admin menu.
This commit is contained in:
Sam 2014-05-27 20:54:59 +10:00
commit 57176a9f46
3 changed files with 10 additions and 4 deletions

View File

@ -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) {

View File

@ -98,6 +98,10 @@ section.post-menu-area, .post-actions {
}
}
section.post-menu-area {
position: relative;
}
nav.post-controls {
padding: 0;
button {

View File

@ -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;