Permalink
Browse files

MDL-42111 TinyMCE media preview: fix video preview display for TinyMC…

…E media.

Effected themes: boxxie, clean, brick, formal_white and splash.
  • Loading branch information...
1 parent b6ced2f commit ac23be5d24741510f3aab81f2100810c4c3fb601 rwijaya committed Oct 21, 2013
@@ -1057,4 +1057,11 @@ h2.headingblock {
margin-right: 3px;
padding: 2px; /* adds padding to icon */
width: 12px;
+}
+
+.core_media_preview #page-wrapper {
+ min-width: 0;
+ background: none;
+ margin: 0;
+ padding: 0 5px;
}
@@ -116,4 +116,21 @@ body {
}
.pagelayout-report #page-content #region-main {overflow:auto;}
-.pagelayout-report #page-content #region-main .region-content {overflow:visible;}
+.pagelayout-report #page-content #region-main .region-content {overflow:visible;}
+
+.core_media_preview #page {
+ width: 100%;
+ min-width: 0;
+ margin: 0;
+ padding: 0;
+}
+
+body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
+ width: 422px;
+ padding: 0px;
+ background: none;
+}
+
+.core_media_preview.pagelayout-embedded .mediaplugin {
+ margin: 5px;
+}
@@ -62,6 +62,18 @@
background-color:#FFF;
}
+.core_media_preview #page-content #region-post-box {
+ margin-left: 0;
+}
+
+.core_media_preview #page-content #region-main-wrap {
+ width: 100%;
+}
+
+.core_media_preview #page-content #region-main {
+ margin-left: 30px;
+ }
+
#page-content #region-post-box {
margin-left:[[calculated:minusdoubleblockcolumnwidth]];
/* arrotonadamento angolo in basso a dx */
@@ -779,3 +779,14 @@ table.quizreviewsummary {
left:0;
padding-top:10px;
}
+
+body#page-lib-editor-tinymce-plugins-moodlemedia-preview #page {
+ width: 100%;
+}
+body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
+ min-height: 100%;
+ margin-bottom: 0;
+}
+body#page-lib-editor-tinymce-plugins-moodlemedia-preview .mediaplugin {
+ padding-top: 10px;
+}

0 comments on commit ac23be5

Please sign in to comment.