summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-05 15:27:08 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-05 15:27:08 +0200
commitccb41747d994b0ba1ce0a2b9dd6456fccff247c3 (patch)
treecdbd0a5f0d761b33fd794687b17252f5d6c2ed3b
parent89d6ce68463b92641946551b07ec49b023d56d90 (diff)
Make TinyMCE4 buttons smaller
-rw-r--r--program/js/editor.js1
-rw-r--r--skins/classic/common.css9
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 ******/