From 6ad730b5cf5a90e11896d10d98dcf1e70d1fbd78 Mon Sep 17 00:00:00 2001 From: Edoardo Sabadelli Date: Thu, 6 Jul 2023 10:06:54 +0200 Subject: [PATCH] fix: use same text styles as in edit/preview mode DHIS2-15537 --- src/components/Item/TextItem/Item.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/Item/TextItem/Item.js b/src/components/Item/TextItem/Item.js index 497f4b93a..cd63afab7 100644 --- a/src/components/Item/TextItem/Item.js +++ b/src/components/Item/TextItem/Item.js @@ -18,13 +18,11 @@ import PrintItemInfo from '../ItemHeader/PrintItemInfo.js' const style = { textDiv: { padding: '10px', - whiteSpace: 'pre-line', - lineHeight: '20px', + lineHeight: '16px', }, textField: { fontSize: '14px', fontStretch: 'normal', - width: '90%', margin: '0 auto', display: 'block', lineHeight: '24px',