mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 20:24:05 -06:00
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:
commit
57176a9f46
@ -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
Block a user