diff --git a/mindplot/src/main/javascript/widget/IconPanel.js b/mindplot/src/main/javascript/widget/IconPanel.js
index 6de3728e..fc39efc9 100644
--- a/mindplot/src/main/javascript/widget/IconPanel.js
+++ b/mindplot/src/main/javascript/widget/IconPanel.js
@@ -28,7 +28,7 @@ mindplot.widget.IconPanel = new Class({
},
buildPanel:function () {
- var content = $('
').css({width: 253, height: 230, padding: 5});
+ var content = $('').css({width: 253, height: 230});
content.on('click', function (event) {
event.stopPropagation()
});
@@ -48,12 +48,8 @@ mindplot.widget.IconPanel = new Class({
var img = $('
')
.attr('id', iconId)
.attr('src', mindplot.ImageIcon.prototype._getImageUrl(iconId))
- .css({
- width:16,
- height:16,
- padding:"0px 2px",
- cursor:'pointer'
- });
+ .attr('class', 'panelIcon');
+
familyContent.append(img);
var panel = this;
diff --git a/mindplot/src/main/javascript/widget/ListToolbarPanel.js b/mindplot/src/main/javascript/widget/ListToolbarPanel.js
index 13601c16..3eead8c5 100644
--- a/mindplot/src/main/javascript/widget/ListToolbarPanel.js
+++ b/mindplot/src/main/javascript/widget/ListToolbarPanel.js
@@ -35,7 +35,7 @@ mindplot.widget.ListToolbarPanel = new Class({
_updateSelectedItem: function () {
var panelElem = this.getPanelElem();
- var menuElems = panelElem.getElements('div');
+ var menuElems = panelElem.find('div');
var value = this.getModel().getValue();
_.each(menuElems, function (elem) {
var elemValue = $defined(elem.getAttribute('model')) ? elem.getAttribute('model') : elem.id;
diff --git a/wise-editor/src/main/webapp/css/editor.less b/wise-editor/src/main/webapp/css/editor.less
index 44d1440b..cd3533cd 100644
--- a/wise-editor/src/main/webapp/css/editor.less
+++ b/wise-editor/src/main/webapp/css/editor.less
@@ -135,4 +135,12 @@ div.shareModalDialog {
padding-left: 19px;
}
+.panelIcon {
+ width:16px;
+ height:16px;
+ margin-left: 4px;
+ margin-top: 3px;
+ cursor: pointer
+}
+