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),
|
||||
'asis' => 1
|
||||
);
|
||||
|
||||
$this->info_box_contents[$i][] = array('td' => 'align="left"',
|
||||
$this->info_box_contents[$i][] = array('td' => '',
|
||||
'text' => $contractstatic->getNomUrl(1),
|
||||
'asis' => 1
|
||||
);
|
||||
|
||||
$this->info_box_contents[$i][] = array('td' => 'align="left"',
|
||||
$this->info_box_contents[$i][] = array('td' => '',
|
||||
'text' => $thirdpartytmp->getNomUrl(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'));
|
||||
|
||||
$this->info_box_contents[$i][] = array('td' => 'align="right" width="18"',
|
||||
|
||||
@ -14,6 +14,7 @@ ServiceStatusNotLateShort=Not expired
|
||||
ServiceStatusLate=Running, expired
|
||||
ServiceStatusLateShort=Expired
|
||||
ServiceStatusClosed=Closed
|
||||
ShowContractOfService=Show contract of service
|
||||
Contracts=Contracts
|
||||
ContractsSubscriptions=Contracts/Subscriptions
|
||||
ContractsAndLine=Contracts and line of contracts
|
||||
|
||||
@ -561,6 +561,18 @@ div.myavailability {
|
||||
text-overflow: ellipsis;
|
||||
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 {
|
||||
max-width: 0;
|
||||
overflow: auto;
|
||||
@ -769,8 +781,8 @@ div.ficheaddleft {
|
||||
<?php if ($conf->browser->layout != 'phone') { print "padding-".$left.": 16px;\n"; }
|
||||
else print "margin-top: 10px;\n"; ?>
|
||||
}
|
||||
/* Force values for small screen */
|
||||
@media only screen and (max-width: 900px)
|
||||
/* Force values on one colum for small screen */
|
||||
@media only screen and (max-width: 960px)
|
||||
{
|
||||
div.fiche {
|
||||
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;
|
||||
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 {
|
||||
max-width: 0;
|
||||
overflow: auto;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user