From c9c2f9e40f32f76a98fe1cc594e3ce998c88f4b7 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Wed, 14 Sep 2022 11:20:13 +0200 Subject: [PATCH] Revert ":bug: Fix weird text align" This reverts commit 726f55bd045f2ec3a82eaf1cba698b370ead760c. --- frontend/resources/styles/main/partials/texts.scss | 2 +- frontend/src/app/main/ui/shapes/text/styles.cljs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/resources/styles/main/partials/texts.scss b/frontend/resources/styles/main/partials/texts.scss index 54a1d234e..0bece2924 100644 --- a/frontend/resources/styles/main/partials/texts.scss +++ b/frontend/resources/styles/main/partials/texts.scss @@ -16,7 +16,7 @@ .text-editor { .DraftEditor-root { - height: auto; + height: 100%; display: flex; flex-direction: column; } diff --git a/frontend/src/app/main/ui/shapes/text/styles.cljs b/frontend/src/app/main/ui/shapes/text/styles.cljs index 3cb594b87..44d23ee39 100644 --- a/frontend/src/app/main/ui/shapes/text/styles.cljs +++ b/frontend/src/app/main/ui/shapes/text/styles.cljs @@ -21,8 +21,7 @@ :width width :fontFamily "sourcesanspro" :display "flex" - :whiteSpace "break-spaces" - :flex-wrap "wrap"}] + :whiteSpace "break-spaces"}] (cond-> base (= valign "top") (obj/set! "alignItems" "flex-start") (= valign "center") (obj/set! "alignItems" "center")