mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
🐛 Fix weird text align
This commit is contained in:
parent
643e58c61b
commit
726f55bd04
@ -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…
x
Reference in New Issue
Block a user