CSS to break descriptions
This commit is contained in:
parent
f3796f59eb
commit
275dbca5fa
3 changed files with 3 additions and 3 deletions
|
|
@ -2638,7 +2638,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio
|
|||
}
|
||||
|
||||
// Description
|
||||
print '<tr><td class="tdtop">'.$langs->trans("Description").'</td><td>'.(dol_textishtml($object->description) ? $object->description : dol_nl2br($object->description, 1, true)).'</td></tr>';
|
||||
print '<tr><td class="tdtop">'.$langs->trans("Description").'</td><td class="wordbreakimp wrapimp">'.(dol_textishtml($object->description) ? $object->description : dol_nl2br($object->description, 1, true)).'</td></tr>';
|
||||
|
||||
// Public URL
|
||||
if (!getDolGlobalString('PRODUCT_DISABLE_PUBLIC_URL')) {
|
||||
|
|
|
|||
|
|
@ -847,7 +847,7 @@ textarea.centpercent {
|
|||
white-space: nowrap;
|
||||
display: inline-block;
|
||||
}
|
||||
.wrapimp {
|
||||
.wrapimp, .wrapimp pre {
|
||||
white-space: normal !important;
|
||||
}
|
||||
.wordwrap {
|
||||
|
|
|
|||
|
|
@ -1100,7 +1100,7 @@ textarea.centpercent {
|
|||
white-space: nowrap;
|
||||
display: inline-block;
|
||||
}
|
||||
.wrapimp {
|
||||
.wrapimp, .wrapimp pre {
|
||||
white-space: normal !important;
|
||||
}
|
||||
.wordwrap {
|
||||
|
|
|
|||
Loading…
Reference in a new issue