MDL-76271 dndupload: Corrected layout when uploading to course via dnd

This commit is contained in:
David Woloszyn 2022-11-15 10:19:45 +11:00
parent e45f7f691a
commit dfa476e5a5
4 changed files with 11 additions and 1 deletions

View File

@ -565,7 +565,7 @@ M.course_dndupload = {
resel.progressouter.appendChild(resel.progress);
resel.div.appendChild(resel.progressouter);
modsel.insertBefore(resel.li, modsel.get('children').pop()); // Leave the 'preview element' at the bottom
modsel.insertBefore(resel.li, modsel.get('children')); // Leave the 'preview element' at the bottom
return resel;
},

View File

@ -1123,6 +1123,10 @@ tr.flagged-tag a {
padding-top: 20px;
}
.activity.label.modtype_label .mod-indent {
float: none;
}
@include media-breakpoint-up(sm) {
$mod-indent-size: 30px;
/* Creates a series of .mod-indent-# rule declarations based on indent size and number of indent levels. */

View File

@ -10776,6 +10776,9 @@ tr.flagged-tag a {
float: left;
padding-top: 20px; }
.activity.label.modtype_label .mod-indent {
float: none; }
@media (min-width: 576px) {
/* Creates a series of .mod-indent-# rule declarations based on indent size and number of indent levels. */
.mod-indent-1 {

View File

@ -10776,6 +10776,9 @@ tr.flagged-tag a {
float: left;
padding-top: 20px; }
.activity.label.modtype_label .mod-indent {
float: none; }
@media (min-width: 576px) {
/* Creates a series of .mod-indent-# rule declarations based on indent size and number of indent levels. */
.mod-indent-1 {