MDL-62465 CSS: scrolling tables

Tables displayed inside a flex box container need position:relative to
calculate their size or they cause incorrect scrollable regions to appear in the page.
This commit is contained in:
Damyon Wiese
2019-02-04 11:40:31 +08:00
parent 2188da9eed
commit 534e9692c5
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -296,7 +296,9 @@ form.popupform div {
}
// 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;
}
+1
View File
@@ -9004,6 +9004,7 @@ form.popupform div {
overflow: auto; }
.no-overflow > .generaltable {
position: relative;
margin-bottom: 0;
min-height: 10em; }