mirror of
https://github.com/penpot/penpot.git
synced 2025-06-02 20:51:38 +02:00
✨ Allow to unselect the text alignment.
Defaulting to 'start' (rtl friendly).
This commit is contained in:
parent
ca52f4f8ea
commit
7bc91e7224
7 changed files with 298 additions and 216 deletions
|
@ -47,7 +47,7 @@
|
|||
(defn generate-paragraph-styles
|
||||
[shape data]
|
||||
(let [line-height (:line-height data)
|
||||
text-align (:text-align data)
|
||||
text-align (:text-align data "start")
|
||||
grow-type (:grow-type shape)
|
||||
|
||||
base #js {:fontSize (str (:font-size txt/default-text-attrs) "px")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue