MDL-62381 editor: Fix tinymce icons

Icon sizing is being overwritten on images.
This commit is contained in:
Matt Davidson 2018-05-29 09:04:08 -04:00
parent 22744b745b
commit 197e714dfd
2 changed files with 4 additions and 1 deletions

View File

@ -25,3 +25,6 @@ lib/editor/tinymce/tiny_mce/3.5.10/theme/advanced/skins/moodle/
TODO:
* create some new automated script that sends other languages from upstream into AMOS
HISTORY:
MDL-62381 - Icon sizing is being overwritten on images.

View File

@ -80,7 +80,7 @@
.moodleSkin .mceToolbar .mceToolbarStart span, .moodleSkin .mceToolbar .mceToolbarEnd span {display:none;}
.moodleSkin .mceToolbar .mceToolbarEndListBox span, .moodleSkin .mceToolbar .mceToolbarStartListBox span {display:none}
.moodleSkin span.mceIcon {display:block;}
.moodleSkin img.mceIcon {display:block; width:16px; height:16px; padding: 2px 0 0 2px;}
.moodleSkin img.mceIcon:not(img) {display:block; width:16px; height:16px; padding: 2px 0 0 2px;}
.moodleSkin td.mceCenter {text-align:center;}
.moodleSkin td.mceCenter table {margin:0 auto; text-align:left;}
.moodleSkin td.mceRight table {margin:0 0 0 auto;}