From 275dbca5fae8dfbf6cdeed7954926dac1be49674 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 9 Feb 2024 15:46:31 +0100 Subject: [PATCH] CSS to break descriptions --- htdocs/product/card.php | 2 +- htdocs/theme/eldy/global.inc.php | 2 +- htdocs/theme/md/style.css.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/product/card.php b/htdocs/product/card.php index 7ad49d21ee4..5a4f56728f2 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -2638,7 +2638,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio } // Description - print ''.$langs->trans("Description").''.(dol_textishtml($object->description) ? $object->description : dol_nl2br($object->description, 1, true)).''; + print ''.$langs->trans("Description").''.(dol_textishtml($object->description) ? $object->description : dol_nl2br($object->description, 1, true)).''; // Public URL if (!getDolGlobalString('PRODUCT_DISABLE_PUBLIC_URL')) { diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index a0c5fca8786..af1eaadd355 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -847,7 +847,7 @@ textarea.centpercent { white-space: nowrap; display: inline-block; } -.wrapimp { +.wrapimp, .wrapimp pre { white-space: normal !important; } .wordwrap { diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 4ccaacce016..2c344cf9e5f 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -1100,7 +1100,7 @@ textarea.centpercent { white-space: nowrap; display: inline-block; } -.wrapimp { +.wrapimp, .wrapimp pre { white-space: normal !important; } .wordwrap {