From abb6b41f91bb2d309fd8e9697ff23266554329fa Mon Sep 17 00:00:00 2001 From: John BOTELLA Date: Wed, 7 Nov 2018 11:25:13 +0100 Subject: [PATCH] Fix screen size fall --- htdocs/comm/remx.php | 8 ++++---- htdocs/theme/eldy/style.css.php | 17 +++++++++++++++++ 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/htdocs/comm/remx.php b/htdocs/comm/remx.php index 3eec109e6b3..7e849279b95 100644 --- a/htdocs/comm/remx.php +++ b/htdocs/comm/remx.php @@ -407,7 +407,7 @@ if ($socid > 0) if($isCustomer) { if($isSupplier) { print '
'; - print '
'; + print '
'; print load_fiche_titre($langs->trans("CustomerDiscounts"), '', ''); } @@ -540,7 +540,7 @@ if ($socid > 0) if($isSupplier) { if($isCustomer) { print '
'; // class="fichehalfleft" - print '
'; + print '
'; print '
'; print load_fiche_titre($langs->trans("SupplierDiscounts"), '', ''); } @@ -691,7 +691,7 @@ if ($socid > 0) if($isCustomer) { if($isSupplier) { print '
'; - print '
'; + print '
'; print load_fiche_titre($langs->trans("CustomerDiscounts"), '', ''); } @@ -842,7 +842,7 @@ if ($socid > 0) if($isSupplier) { if($isCustomer) { print '
'; // class="fichehalfleft" - print '
'; + print '
'; print '
'; print load_fiche_titre($langs->trans("SupplierDiscounts"), '', ''); } diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index e2b87857c95..63e23ac3fe2 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -1357,6 +1357,23 @@ div.secondcolumn div.box { } } +/* Force values on one colum for small screen */ +@media only screen and (max-width: 1599px) +{ + div.fichehalfleft-lg { + float: none; + width: auto; + } + div.fichehalfright-lg { + float: none; + width: auto; + } + + .fichehalfright-lg .ficheaddleft{ + padding-left:0; + } +} + /* For table into table into card */ div.ficheaddleft tr.liste_titre:first-child td table.nobordernopadding td { padding: 0 0 0 0;