mirror of
https://github.com/penpot/penpot.git
synced 2026-02-12 22:53:02 +00:00
🐛 Fix setting a portion of text as bold or underline messes things up
This commit is contained in:
committed by
Alonso Torres
parent
d3ee50daf5
commit
48e3f35bb3
@@ -106,9 +106,11 @@
|
||||
:overflowWrap "initial"
|
||||
:lineBreak "auto"
|
||||
:whiteSpace "break-spaces"
|
||||
:textRendering "geometricPrecision"
|
||||
:display "inline-block"
|
||||
:verticalAlign "top"}
|
||||
:textRendering "geometricPrecision"}
|
||||
base (cond-> base
|
||||
(= (:line-height data) "0")
|
||||
(-> (obj/set! "display" "inline-block")
|
||||
(obj/set! "verticalAlign" "top")))
|
||||
fills
|
||||
(cond
|
||||
;; DEPRECATED: still here for backward compatibility with
|
||||
|
||||
Reference in New Issue
Block a user