CSS
This commit is contained in:
parent
312968eeac
commit
d6e9947cd4
@ -408,7 +408,7 @@ class box_graph_product_distribution extends ModeleBoxes
|
||||
$stringtoshow .= '</div></div>';
|
||||
}
|
||||
$this->info_box_contents[0][0] = array(
|
||||
'tr'=>'class="oddeven nohover"',
|
||||
'tr' => 'class="oddeven nohover"',
|
||||
'td' => 'class="nohover center"',
|
||||
'textnoformat'=>$stringtoshow,
|
||||
);
|
||||
|
||||
@ -229,7 +229,7 @@ class ModeleBoxes // Can't be abtract as it is instantiated to build "empty" box
|
||||
$out .= '>';
|
||||
if (!empty($conf->use_javascript_ajax)) {
|
||||
//$out.= '<table summary="" class="nobordernopadding" width="100%"><tr><td class="tdoverflowmax150 maxwidth150onsmartphone">';
|
||||
$out .= '<div class="tdoverflowmax250 maxwidth150onsmartphone float">';
|
||||
$out .= '<div class="tdoverflowmax400 maxwidth250onsmartphone float">';
|
||||
}
|
||||
if (!empty($head['text'])) {
|
||||
$s = dol_trunc($head['text'], isset($head['limit']) ? $head['limit'] : $MAXLENGTHBOX);
|
||||
|
||||
@ -1136,6 +1136,12 @@ select.flat.selectlimit {
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.tdoverflowmax250 { /* For tdoverflow, the max-midth become a minimum ! */
|
||||
max-width: 250px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.tdoverflowmax300 { /* For tdoverflow, the max-midth become a minimum ! */
|
||||
max-width: 300px;
|
||||
overflow: hidden;
|
||||
|
||||
@ -1211,6 +1211,12 @@ select.flat.selectlimit {
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.tdoverflowmax250 { /* For tdoverflow, the max-midth become a minimum ! */
|
||||
max-width: 250px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.tdoverflowmax300 { /* For tdoverflow, the max-midth become a minimum ! */
|
||||
max-width: 300px;
|
||||
overflow: hidden;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user