diff --git a/apps/common/main/lib/controller/Plugins.js b/apps/common/main/lib/controller/Plugins.js index 68c4f2ccd..14c430cc6 100644 --- a/apps/common/main/lib/controller/Plugins.js +++ b/apps/common/main/lib/controller/Plugins.js @@ -246,7 +246,7 @@ define([ if (!btn) return; var _group = $('> .group', me.$toolbarPanelPlugins); - var $slot = $('').appendTo(_group); + var $slot = $('').appendTo(_group); btn.render($slot); } }, @@ -271,7 +271,7 @@ define([ var btn = me.panelPlugins.createPluginButton(model); if (btn) { - var $slot = $('').appendTo(_group); + var $slot = $('').appendTo(_group); btn.render($slot); rank_plugins++; } diff --git a/apps/common/main/lib/view/Plugins.js b/apps/common/main/lib/view/Plugins.js index cfcc6c050..9a1296b17 100644 --- a/apps/common/main/lib/view/Plugins.js +++ b/apps/common/main/lib/view/Plugins.js @@ -162,7 +162,7 @@ define([ hint: model.get('name') }); - var $slot = $('').appendTo(_group); + var $slot = $('').appendTo(_group); btn.render($slot); model.set('button', btn); diff --git a/apps/common/main/resources/less/plugins.less b/apps/common/main/resources/less/plugins.less index bf665caba..674ecb102 100644 --- a/apps/common/main/resources/less/plugins.less +++ b/apps/common/main/resources/less/plugins.less @@ -135,10 +135,6 @@ } } - .slot:not(:first-child) { - margin-left: 2px; - } - .dropdown-menu { min-width: 100px; }