From 876df13ea1c5d0cd9b9fc16cf388f17a14f4bb2d Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Tue, 8 Jun 2021 17:09:53 +0100 Subject: [PATCH] MDL-69682 theme_boost: remove minimum height of tables. The change that introduced this property (a3124b15) is no longer required, and it caused visual glitches on tables containing a single row. --- theme/boost/scss/moodle/core.scss | 2 -- theme/boost/style/moodle.css | 3 +-- theme/classic/style/moodle.css | 3 +-- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/theme/boost/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss index 58405216d43..2622a6d5331 100644 --- a/theme/boost/scss/moodle/core.scss +++ b/theme/boost/scss/moodle/core.scss @@ -435,12 +435,10 @@ form.popupform div { overflow: auto; } -// Minimum height required for a menu in a table inside a scrollable div. // Position required for table sizing inside a flex container. .no-overflow > .generaltable { position: relative; margin-bottom: 0; - min-height: 10em; } // Accessibility features diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index b0d35fc0a53..cc08e798710 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -10037,8 +10037,7 @@ form.popupform div { .no-overflow > .generaltable { position: relative; - margin-bottom: 0; - min-height: 10em; } + margin-bottom: 0; } .accesshide { position: absolute; diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index be431bc5195..3c04d4b1284 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -10249,8 +10249,7 @@ form.popupform div { .no-overflow > .generaltable { position: relative; - margin-bottom: 0; - min-height: 10em; } + margin-bottom: 0; } .accesshide { position: absolute;