Merge branch 'MDL-79231-404' of https://github.com/davewoloszyn/moodle into MOODLE_404_STABLE

This commit is contained in:
Sara Arjona 2024-06-25 16:13:01 +02:00
commit ff2164fd3d
No known key found for this signature in database
4 changed files with 74 additions and 0 deletions

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;
}

View File

@ -30,3 +30,24 @@
}
}
}
/* Bug fix for TinyMCE menu when in fullscreen mode. */
body.tox-fullscreen .modal-dialog {
width: 100%;
max-width: 100%;
height: 100%;
.modal-header {
height: 0;
padding: 0;
}
.tox-tinymce-aux {
position: relative;
}
}
/* Bug fix TinyMCE menu width dropdowns when in fullscreen mode. */
body.tox-fullscreen .tox.tox-tinymce-aux {
position: relative !important; // stylelint-disable-line declaration-no-important
}

View File

@ -36812,6 +36812,25 @@ span[data-flexitour=container][x-placement=right] div[data-role=arrow]:after, sp
opacity: inherit;
}
/* Bug fix for TinyMCE menu when in fullscreen mode. */
body.tox-fullscreen .modal-dialog {
width: 100%;
max-width: 100%;
height: 100%;
}
body.tox-fullscreen .modal-dialog .modal-header {
height: 0;
padding: 0;
}
body.tox-fullscreen .modal-dialog .tox-tinymce-aux {
position: relative;
}
/* Bug fix TinyMCE menu width dropdowns when in fullscreen mode. */
body.tox-fullscreen .tox.tox-tinymce-aux {
position: relative !important;
}
.layout.fullscreen {
height: 100vh;
position: fixed;

View File

@ -36746,6 +36746,25 @@ span[data-flexitour=container][x-placement=right] div[data-role=arrow]:after, sp
opacity: inherit;
}
/* Bug fix for TinyMCE menu when in fullscreen mode. */
body.tox-fullscreen .modal-dialog {
width: 100%;
max-width: 100%;
height: 100%;
}
body.tox-fullscreen .modal-dialog .modal-header {
height: 0;
padding: 0;
}
body.tox-fullscreen .modal-dialog .tox-tinymce-aux {
position: relative;
}
/* Bug fix TinyMCE menu width dropdowns when in fullscreen mode. */
body.tox-fullscreen .tox.tox-tinymce-aux {
position: relative !important;
}
.layout.fullscreen {
height: 100vh;
position: fixed;