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:
parent
643e58c61b
commit
726f55bd04
2 changed files with 3 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
|
||||
.text-editor {
|
||||
.DraftEditor-root {
|
||||
height: 100%;
|
||||
height: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue