diff --git a/src/css/contextmenu.css b/src/css/contextmenu.css index 7e9688c..3c2f2a7 100644 --- a/src/css/contextmenu.css +++ b/src/css/contextmenu.css @@ -290,6 +290,9 @@ div.jsoneditor-contextmenu button.jsoneditor-type-modes > div.jsoneditor-icon { height: 30px; line-height: 30px; + font-family: arial, sans-serif; + font-size: 11pt; + background: #3883fa; color: white; } diff --git a/src/css/menu.css b/src/css/menu.css index 3cce9d5..d706661 100644 --- a/src/css/menu.css +++ b/src/css/menu.css @@ -11,7 +11,6 @@ div.jsoneditor-menu { color: white; background-color: #3883fa; border-bottom: 1px solid #3883fa; - overflow: hidden; } div.jsoneditor-menu > button, diff --git a/src/js/Node.js b/src/js/Node.js index 5a6720b..e007e9c 100644 --- a/src/js/Node.js +++ b/src/js/Node.js @@ -3732,30 +3732,31 @@ Node.prototype.showContextMenu = function (anchor, onClose) { Node.prototype._showSortModal = function () { var node = this; + // TODO: escape the translated text var content = '