diff --git a/app/assets/javascripts/jstoolbar/jstoolbar.js b/app/assets/javascripts/jstoolbar/jstoolbar.js index a6c58b1352..229d966575 100644 --- a/app/assets/javascripts/jstoolbar/jstoolbar.js +++ b/app/assets/javascripts/jstoolbar/jstoolbar.js @@ -172,7 +172,7 @@ jsToolBar.prototype = { button: function(toolName) { var tool = this.elements[toolName]; if (typeof tool.fn[this.mode] != 'function') return null; - var b = new jsButton(tool.title, tool.fn[this.mode], this, 'jstb_'+toolName); + var b = new jsButton(tool.title, tool.fn[this.mode], this, 'icon-small jstb_'+toolName); if (tool.icon != undefined) b.icon = tool.icon; return b; }, diff --git a/app/assets/stylesheets/content/_in_place_editing.sass b/app/assets/stylesheets/content/_in_place_editing.sass index 7ccca0943f..73b7762d41 100644 --- a/app/assets/stylesheets/content/_in_place_editing.sass +++ b/app/assets/stylesheets/content/_in_place_editing.sass @@ -105,7 +105,8 @@ .jstb_ol, .jstb_preview, .jstb_help - display: inline-block + display: inline-flex + justify-content: center .inplace-edit--select .select2-display-none diff --git a/frontend/app/ui_components/wiki-toolbar-directive.js b/frontend/app/ui_components/wiki-toolbar-directive.js index dc1868fbb1..157dfbf04e 100644 --- a/frontend/app/ui_components/wiki-toolbar-directive.js +++ b/frontend/app/ui_components/wiki-toolbar-directive.js @@ -31,7 +31,7 @@ module.exports = function() { '"resizable=yes, location=no, width=600, height=640, ' + 'menubar=no, status=no, scrollbars=yes"); return false;', HELP_LINK_HTML = jQuery('