diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index af83c01986c..45da1eee13c 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -588,9 +588,14 @@ div.myavailability { overflow-y: hidden; -ms-overflow-style: -ms-autohiding-scrollbar; }*/ +/* Style used for most tables */ .div-table-responsive { overflow-x: auto; - /*min-height: 0.01%;*/ + min-height: 0.01%; +} +/* Style used for full page tables with field selector and no content after table (priority before previous for such tables) */ +div.fiche>form>div.div-table-responsive { + overflow-x: auto; min-height: 350px; } diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 0d802a2c345..c95bd830059 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -587,15 +587,20 @@ div.myavailability { } /* DOL_XXX for future usage (when left menu has been removed). If we do not use datatable */ -.table-responsive { +/*.table-responsive { width: calc(100% - 330px); margin-bottom: 15px; overflow-y: hidden; -ms-overflow-style: -ms-autohiding-scrollbar; -} +}*/ +/* Style used for most tables */ .div-table-responsive { overflow-x: auto; - /*min-height: 0.01%;*/ + min-height: 0.01%; +} +/* Style used for full page tables with field selector and no content after table (priority before previous for such tables) */ +div.fiche>form>div.div-table-responsive { + overflow-x: auto; min-height: 350px; }