add class for extra post buttons

This commit is contained in:
Kris 2019-07-23 11:31:37 -04:00
parent e117b10ea8
commit 7d27b8bb8c
1 changed files with 1 additions and 2 deletions

View File

@ -447,7 +447,7 @@ export default createWidget("post-menu", {
if (afterButton) { if (afterButton) {
content.push(afterButton(h)); content.push(afterButton(h));
} }
button = h("span", content); button = h("span.extra-buttons", content);
if (button) { if (button) {
switch (position) { switch (position) {
@ -484,7 +484,6 @@ export default createWidget("post-menu", {
postControls.push(this.attach("post-admin-menu", attrs)); postControls.push(this.attach("post-admin-menu", attrs));
} }
const contents = [h("nav.post-controls.clearfix", postControls)];
if (state.likedUsers.length) { if (state.likedUsers.length) {
const remaining = state.total - state.likedUsers.length; const remaining = state.total - state.likedUsers.length;
contents.push( contents.push(