From 7d27b8bb8c27a2b4e2842775e82491153155cd61 Mon Sep 17 00:00:00 2001 From: Kris Date: Tue, 23 Jul 2019 11:31:37 -0400 Subject: [PATCH] add class for extra post buttons --- app/assets/javascripts/discourse/widgets/post-menu.js.es6 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/widgets/post-menu.js.es6 b/app/assets/javascripts/discourse/widgets/post-menu.js.es6 index 4eadb59c0d2..44aae9b7137 100644 --- a/app/assets/javascripts/discourse/widgets/post-menu.js.es6 +++ b/app/assets/javascripts/discourse/widgets/post-menu.js.es6 @@ -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(