From ccb41747d994b0ba1ce0a2b9dd6456fccff247c3 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 5 May 2014 15:27:08 +0200 Subject: Make TinyMCE4 buttons smaller --- program/js/editor.js | 1 + skins/classic/common.css | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/program/js/editor.js b/program/js/editor.js index 8a6e88433..b2d13f965 100644 --- a/program/js/editor.js +++ b/program/js/editor.js @@ -24,6 +24,7 @@ function rcmail_editor_init(config) content_css: config.skin_path + '/editor_content.css', menubar: false, statusbar: false, + toolbar_items_size: 'small', extended_valid_elements: 'font[face|size|color|style],span[id|class|align|style]', relative_urls: false, remove_script_host: false, diff --git a/skins/classic/common.css b/skins/classic/common.css index 390522fe8..bad2114c8 100644 --- a/skins/classic/common.css +++ b/skins/classic/common.css @@ -597,8 +597,13 @@ img.uploading height: 16px; } -.mce-btn button { - height: 28px; +.mce-btn-small button { + height: 22px; +} + +.mce-btn-small i { + line-height: 16px !important; + vertical-align: text-top !important; } /***** common table settings ******/ -- cgit v1.2.3