Try a better fix for responsive and avoid scrolling on field selectors

This commit is contained in:
Laurent Destailleur 2016-12-11 11:28:30 +01:00
parent 190f432c23
commit c6293db23c
2 changed files with 14 additions and 4 deletions

View File

@ -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;
}

View File

@ -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;
}