Fix layout for plugins tab
This commit is contained in:
parent
dbfcca5652
commit
014e07fe03
|
@ -246,7 +246,7 @@ define([
|
|||
if (!btn) return;
|
||||
|
||||
var _group = $('> .group', me.$toolbarPanelPlugins);
|
||||
var $slot = $('<span class="slot"></span>').appendTo(_group);
|
||||
var $slot = $('<span class="btn-slot text x-huge"></span>').appendTo(_group);
|
||||
btn.render($slot);
|
||||
}
|
||||
},
|
||||
|
@ -271,7 +271,7 @@ define([
|
|||
|
||||
var btn = me.panelPlugins.createPluginButton(model);
|
||||
if (btn) {
|
||||
var $slot = $('<span class="slot"></span>').appendTo(_group);
|
||||
var $slot = $('<span class="btn-slot text x-huge"></span>').appendTo(_group);
|
||||
btn.render($slot);
|
||||
rank_plugins++;
|
||||
}
|
||||
|
|
|
@ -162,7 +162,7 @@ define([
|
|||
hint: model.get('name')
|
||||
});
|
||||
|
||||
var $slot = $('<span class="slot"></span>').appendTo(_group);
|
||||
var $slot = $('<span class="btn-slot text x-huge"></span>').appendTo(_group);
|
||||
btn.render($slot);
|
||||
|
||||
model.set('button', btn);
|
||||
|
|
|
@ -135,10 +135,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.slot:not(:first-child) {
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
min-width: 100px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue