🐛 Fix setting a portion of text as bold or underline messes things up

This commit is contained in:
Alejandro Alonso
2025-12-30 11:09:56 +01:00
committed by Alonso Torres
parent d3ee50daf5
commit 48e3f35bb3
2 changed files with 11 additions and 3 deletions

View File

@@ -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