mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 08:03:40 +08:00
add class for extra post buttons
This commit is contained in:
parent
e117b10ea8
commit
7d27b8bb8c
|
@ -447,7 +447,7 @@ export default createWidget("post-menu", {
|
|||
if (afterButton) {
|
||||
content.push(afterButton(h));
|
||||
}
|
||||
button = h("span", content);
|
||||
button = h("span.extra-buttons", content);
|
||||
|
||||
if (button) {
|
||||
switch (position) {
|
||||
|
@ -484,7 +484,6 @@ export default createWidget("post-menu", {
|
|||
postControls.push(this.attach("post-admin-menu", attrs));
|
||||
}
|
||||
|
||||
const contents = [h("nav.post-controls.clearfix", postControls)];
|
||||
if (state.likedUsers.length) {
|
||||
const remaining = state.total - state.likedUsers.length;
|
||||
contents.push(
|
||||
|
|
Loading…
Reference in New Issue
Block a user