From ccb41747d994b0ba1ce0a2b9dd6456fccff247c3 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 05 May 2014 09:27:08 -0400
Subject: [PATCH] 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 8a6e884..b2d13f9 100644
--- a/program/js/editor.js
+++ b/program/js/editor.js
@@ -24,6 +24,7 @@
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 390522f..bad2114 100644
--- a/skins/classic/common.css
+++ b/skins/classic/common.css
@@ -597,8 +597,13 @@
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 ******/
--
Gitblit v1.9.1