Fix layout for plugins tab

This commit is contained in:
Julia Radzhabova 2020-12-22 14:39:26 +03:00
parent dbfcca5652
commit 014e07fe03
3 changed files with 3 additions and 7 deletions

View file

@ -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++;
}

View file

@ -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);

View file

@ -135,10 +135,6 @@
}
}
.slot:not(:first-child) {
margin-left: 2px;
}
.dropdown-menu {
min-width: 100px;
}