Fix css for last chrome versions. max-width: 0 fails on box
This commit is contained in:
parent
db7f7a420b
commit
914d56bb1b
@ -128,22 +128,22 @@ class box_services_contracts extends ModeleBoxes
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->info_box_contents[$i][] = array('td' => 'class="tdoverflow maxwidth100onsmartphone" align="left"',
|
$this->info_box_contents[$i][] = array('td' => 'class="tdoverflowmax100 maxwidth100onsmartphone"',
|
||||||
'text' => $contratlignestatic->getNomUrl(1),
|
'text' => $contratlignestatic->getNomUrl(1),
|
||||||
'asis' => 1
|
'asis' => 1
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->info_box_contents[$i][] = array('td' => 'align="left"',
|
$this->info_box_contents[$i][] = array('td' => '',
|
||||||
'text' => $contractstatic->getNomUrl(1),
|
'text' => $contractstatic->getNomUrl(1),
|
||||||
'asis' => 1
|
'asis' => 1
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->info_box_contents[$i][] = array('td' => 'align="left"',
|
$this->info_box_contents[$i][] = array('td' => '',
|
||||||
'text' => $thirdpartytmp->getNomUrl(1),
|
'text' => $thirdpartytmp->getNomUrl(1),
|
||||||
'asis' => 1
|
'asis' => 1
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->info_box_contents[$i][] = array('td' => 'align="right"',
|
$this->info_box_contents[$i][] = array('td' => '',
|
||||||
'text' => dol_print_date($datem,'day'));
|
'text' => dol_print_date($datem,'day'));
|
||||||
|
|
||||||
$this->info_box_contents[$i][] = array('td' => 'align="right" width="18"',
|
$this->info_box_contents[$i][] = array('td' => 'align="right" width="18"',
|
||||||
|
|||||||
@ -14,6 +14,7 @@ ServiceStatusNotLateShort=Not expired
|
|||||||
ServiceStatusLate=Running, expired
|
ServiceStatusLate=Running, expired
|
||||||
ServiceStatusLateShort=Expired
|
ServiceStatusLateShort=Expired
|
||||||
ServiceStatusClosed=Closed
|
ServiceStatusClosed=Closed
|
||||||
|
ShowContractOfService=Show contract of service
|
||||||
Contracts=Contracts
|
Contracts=Contracts
|
||||||
ContractsSubscriptions=Contracts/Subscriptions
|
ContractsSubscriptions=Contracts/Subscriptions
|
||||||
ContractsAndLine=Contracts and line of contracts
|
ContractsAndLine=Contracts and line of contracts
|
||||||
|
|||||||
@ -561,6 +561,18 @@ div.myavailability {
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
.tdoverflowmax100 {
|
||||||
|
max-width: 100px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
.tdoverflowmax300 {
|
||||||
|
max-width: 300px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
.tdoverflowauto {
|
.tdoverflowauto {
|
||||||
max-width: 0;
|
max-width: 0;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@ -769,8 +781,8 @@ div.ficheaddleft {
|
|||||||
<?php if ($conf->browser->layout != 'phone') { print "padding-".$left.": 16px;\n"; }
|
<?php if ($conf->browser->layout != 'phone') { print "padding-".$left.": 16px;\n"; }
|
||||||
else print "margin-top: 10px;\n"; ?>
|
else print "margin-top: 10px;\n"; ?>
|
||||||
}
|
}
|
||||||
/* Force values for small screen */
|
/* Force values on one colum for small screen */
|
||||||
@media only screen and (max-width: 900px)
|
@media only screen and (max-width: 960px)
|
||||||
{
|
{
|
||||||
div.fiche {
|
div.fiche {
|
||||||
margin-<?php print $left; ?>: <?php print (GETPOST("optioncss") == 'print'?6:($dol_hide_leftmenu?'6':'20')); ?>px;
|
margin-<?php print $left; ?>: <?php print (GETPOST("optioncss") == 'print'?6:($dol_hide_leftmenu?'6':'20')); ?>px;
|
||||||
|
|||||||
@ -560,6 +560,18 @@ div.myavailability {
|
|||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
.tdoverflowmax100 {
|
||||||
|
max-width: 100px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
.tdoverflowmax300 {
|
||||||
|
max-width: 300px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
.tdoverflowauto {
|
.tdoverflowauto {
|
||||||
max-width: 0;
|
max-width: 0;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user