From cf9c4ec0b121b367cf96adc764fdb34e2bc01d91 Mon Sep 17 00:00:00 2001 From: yuri Date: Mon, 23 Jan 2017 17:15:50 +0200 Subject: [PATCH] word wrapping in list view --- client/res/templates/fields/text/detail.tpl | 2 +- frontend/less/espo/custom.less | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/client/res/templates/fields/text/detail.tpl b/client/res/templates/fields/text/detail.tpl index 84c9e12454..6c6f8cc765 100644 --- a/client/res/templates/fields/text/detail.tpl +++ b/client/res/templates/fields/text/detail.tpl @@ -1 +1 @@ -{{#if isNotEmpty}}{{complexText value}}{{else}}{{translate 'None'}}{{/if}} +{{#if isNotEmpty}}{{complexText value}}{{else}}{{translate 'None'}}{{/if}} diff --git a/frontend/less/espo/custom.less b/frontend/less/espo/custom.less index f215f87203..66e78a54c5 100644 --- a/frontend/less/espo/custom.less +++ b/frontend/less/espo/custom.less @@ -1068,10 +1068,15 @@ stream-head-text-container .span { cursor: default; } -.complext-text a { +.complex-text a { word-wrap: break-word; } +table.table td.cell .complex-text { + word-wrap: break-word; + white-space: normal; +} + #popup-notifications-container { overflow-y: auto; overflow-x: hidden;