Revert "🐛 Fix weird text align"

This reverts commit 726f55bd04.
This commit is contained in:
alonso.torres 2022-09-14 11:20:13 +02:00
parent bdd487adc0
commit c9c2f9e40f
2 changed files with 2 additions and 3 deletions

View file

@ -16,7 +16,7 @@
.text-editor { .text-editor {
.DraftEditor-root { .DraftEditor-root {
height: auto; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }

View file

@ -21,8 +21,7 @@
:width width :width width
:fontFamily "sourcesanspro" :fontFamily "sourcesanspro"
:display "flex" :display "flex"
:whiteSpace "break-spaces" :whiteSpace "break-spaces"}]
:flex-wrap "wrap"}]
(cond-> base (cond-> base
(= valign "top") (obj/set! "alignItems" "flex-start") (= valign "top") (obj/set! "alignItems" "flex-start")
(= valign "center") (obj/set! "alignItems" "center") (= valign "center") (obj/set! "alignItems" "center")