mirror of
https://github.com/penpot/penpot.git
synced 2025-05-08 20:15:53 +02: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 {
|
.text-editor {
|
||||||
.DraftEditor-root {
|
.DraftEditor-root {
|
||||||
height: 100%;
|
height: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,8 @@
|
||||||
: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")
|
||||||
|
|
Loading…
Add table
Reference in a new issue