From d74af6ddc13c7fd02685362ed0ffbf9ab4455cf5 Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Tue, 7 Feb 2023 11:18:01 +0100 Subject: [PATCH] Revert ":bug: Fix line-height inconsistent" This reverts commit 3974a4778a9f6e2cfd4787562499983ca0388977. --- frontend/src/app/main/ui/shapes/text/styles.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/shapes/text/styles.cljs b/frontend/src/app/main/ui/shapes/text/styles.cljs index 0fd5f0cd7e..5ad25a7dfd 100644 --- a/frontend/src/app/main/ui/shapes/text/styles.cljs +++ b/frontend/src/app/main/ui/shapes/text/styles.cljs @@ -84,7 +84,9 @@ :color (if show-text? text-color "transparent") :caretColor (or text-color "black") :overflowWrap "initial" - :lineBreak "auto"} + :lineBreak "auto" + :whiteSpace "break-spaces" + :textRendering "geometricPrecision"} fills (cond (some? (:fills data))