0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00

🐛 Fix weird text align

This commit is contained in:
Alejandro Alonso 2022-09-09 12:13:59 +02:00 committed by Alonso Torres
parent 643e58c61b
commit 726f55bd04
2 changed files with 3 additions and 2 deletions

View file

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

View file

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