Fix screen size fall
This commit is contained in:
parent
699dc239d4
commit
4fa10296f4
@ -407,7 +407,7 @@ if ($socid > 0)
|
||||
if($isCustomer) {
|
||||
if($isSupplier) {
|
||||
print '<div class="fichecenter">';
|
||||
print '<div class="fichehalfleft">';
|
||||
print '<div class="fichehalfleft fichehalfleft-lg">';
|
||||
print load_fiche_titre($langs->trans("CustomerDiscounts"), '', '');
|
||||
}
|
||||
|
||||
@ -542,7 +542,7 @@ if ($socid > 0)
|
||||
if($isSupplier) {
|
||||
if($isCustomer) {
|
||||
print '</div>'; // class="fichehalfleft"
|
||||
print '<div class="fichehalfright">';
|
||||
print '<div class="fichehalfright fichehalfright-lg">';
|
||||
print '<div class="ficheaddleft">';
|
||||
print load_fiche_titre($langs->trans("SupplierDiscounts"), '', '');
|
||||
}
|
||||
@ -695,7 +695,7 @@ if ($socid > 0)
|
||||
if($isCustomer) {
|
||||
if($isSupplier) {
|
||||
print '<div class="fichecenter">';
|
||||
print '<div class="fichehalfleft">';
|
||||
print '<div class="fichehalfleft fichehalfleft-lg">';
|
||||
print load_fiche_titre($langs->trans("CustomerDiscounts"), '', '');
|
||||
}
|
||||
|
||||
@ -848,7 +848,7 @@ if ($socid > 0)
|
||||
if($isSupplier) {
|
||||
if($isCustomer) {
|
||||
print '</div>'; // class="fichehalfleft"
|
||||
print '<div class="fichehalfright">';
|
||||
print '<div class="fichehalfright fichehalfright-lg">';
|
||||
print '<div class="ficheaddleft">';
|
||||
print load_fiche_titre($langs->trans("SupplierDiscounts"), '', '');
|
||||
}
|
||||
|
||||
@ -1374,6 +1374,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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user