diff --git a/js/admin/dist/app.js b/js/admin/dist/app.js index 3eff28f7d..146989a74 100644 --- a/js/admin/dist/app.js +++ b/js/admin/dist/app.js @@ -20965,15 +20965,12 @@ System.register('flarum/helpers/listItems', ['flarum/components/Separator', 'fla item.attrs.key = item.attrs.key || item.itemName; } - var space = new String(' '); - space.attrs = { key: '_space_' + item.itemName }; - return [isListItem ? item : m( 'li', { className: classList([item.itemName ? 'item-' + item.itemName : '', className, active ? 'active' : '']), key: item.itemName }, item - ), space]; + )]; }); } diff --git a/js/forum/dist/app.js b/js/forum/dist/app.js index a34e60f7d..9b3caf819 100644 --- a/js/forum/dist/app.js +++ b/js/forum/dist/app.js @@ -28327,15 +28327,12 @@ System.register('flarum/helpers/listItems', ['flarum/components/Separator', 'fla item.attrs.key = item.attrs.key || item.itemName; } - var space = new String(' '); - space.attrs = { key: '_space_' + item.itemName }; - return [isListItem ? item : m( 'li', { className: classList([item.itemName ? 'item-' + item.itemName : '', className, active ? 'active' : '']), key: item.itemName }, item - ), space]; + )]; }); } diff --git a/js/lib/helpers/listItems.js b/js/lib/helpers/listItems.js index 1b94e151c..d7ebe0544 100644 --- a/js/lib/helpers/listItems.js +++ b/js/lib/helpers/listItems.js @@ -39,9 +39,6 @@ export default function listItems(items) { item.attrs.key = item.attrs.key || item.itemName; } - const space = new String(' '); - space.attrs = {key: '_space_'+item.itemName}; - return [ isListItem ? item @@ -52,8 +49,7 @@ export default function listItems(items) { ])} key={item.itemName}> {item} - , - space + ]; }); } diff --git a/less/forum/Post.less b/less/forum/Post.less index 93f752f92..263f1e44a 100644 --- a/less/forum/Post.less +++ b/less/forum/Post.less @@ -30,7 +30,7 @@ > li { display: inline; - margin-right: 7px; + margin-right: 10px; } } }