MDL-79231 mod_assign: Fix Tiny menu in fullscreen mode

This commit is contained in:
David Woloszyn
2024-06-20 14:32:57 +10:00
parent fbed8034eb
commit d5be1b502f
+15
View File
@@ -1141,6 +1141,11 @@
float: none;
margin: 0 auto 10px;
}
/* Bug fix for TinyMCE menu when in fullscreen mode (small screens). */
body.tox-fullscreen.path-mod-assign [data-region="grading-navigation"] {
display: none;
}
}
/** Start of CSS to make forms vertical in the grading panel (taken from theme/bootstrapbase/less/moodle/forms.less). */
@@ -1216,3 +1221,13 @@ div[id*='mod_assign-timer-'] {
font-weight: 600;
font-size: 1.4em;
}
/* Bug fix for TinyMCE menu when in fullscreen mode. */
body.tox-fullscreen.path-mod-assign [data-region="grade-panel"] {
position: unset;
}
/* Bug fix for TinyMCE menu when in fullscreen mode and when editor is nested in a popout.*/
body.path-mod-assign [data-region="grade-panel"] .mform .fitem.has-popout .felement[data-fieldtype="editor"] {
overflow: unset;
}