MDL-62381 editor: Fix tinymce icons
authorMatt Davidson <davidso1@rose-hulman.edu>
Tue, 29 May 2018 13:04:08 +0000 (09:04 -0400)
committerMatt Davidson <davidso1@rose-hulman.edu>
Tue, 29 May 2018 13:04:08 +0000 (09:04 -0400)
Icon sizing is being overwritten on images.

lib/editor/tinymce/readme_moodle.txt
lib/editor/tinymce/tiny_mce/3.5.11/themes/advanced/skins/moodle/ui.css

index 429c5d0..6e3ca15 100644 (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.
\ No newline at end of file
index f7e0741..934ac45 100644 (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;}