diff --git a/theme/boost/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss index 53e5411f775..42dee5d4dd0 100644 --- a/theme/boost/scss/moodle/core.scss +++ b/theme/boost/scss/moodle/core.scss @@ -286,8 +286,10 @@ form.popupform div { overflow: auto; } +// Minimum height required for a menu in a table inside a scrollable div. .no-overflow > .generaltable { margin-bottom: 0; + min-height: 10em; } // Accessibility features diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 75d8bfaff8e..c5bc71629f7 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -8999,7 +8999,8 @@ form.popupform div { overflow: auto; } .no-overflow > .generaltable { - margin-bottom: 0; } + margin-bottom: 0; + min-height: 10em; } .accesshide { position: absolute; diff --git a/theme/bootstrapbase/less/moodle/core.less b/theme/bootstrapbase/less/moodle/core.less index ed6680bce35..dea8b817706 100644 --- a/theme/bootstrapbase/less/moodle/core.less +++ b/theme/bootstrapbase/less/moodle/core.less @@ -374,8 +374,10 @@ form.popupform div { .pagelayout-report .no-overflow { overflow: visible; } +// Minimum height required for a menu in a table inside a scrollable div. .no-overflow > .generaltable { margin-bottom: 0; + min-height: 10em; } // Accessibility features diff --git a/theme/bootstrapbase/style/moodle.css b/theme/bootstrapbase/style/moodle.css index c5a4a99cf93..0412634475f 100644 --- a/theme/bootstrapbase/style/moodle.css +++ b/theme/bootstrapbase/style/moodle.css @@ -2676,6 +2676,7 @@ form.popupform div { } .no-overflow > .generaltable { margin-bottom: 0; + min-height: 10em; } .accesshide { position: absolute;