mirror of
https://github.com/penpot/penpot.git
synced 2026-05-30 04:08:08 +00:00
🐛 Fix setting a portion of text as bold or underline messes things up
This commit is contained in:
parent
d3ee50daf5
commit
48e3f35bb3
@ -1,5 +1,11 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
|
## 2.12.1
|
||||||
|
|
||||||
|
### :bug: Bugs fixed
|
||||||
|
|
||||||
|
- Fix setting a portion of text as bold or underline messes things up [Github #7980](https://github.com/penpot/penpot/issues/7980)
|
||||||
|
|
||||||
## 2.12.0
|
## 2.12.0
|
||||||
|
|
||||||
### :boom: Breaking changes & Deprecations
|
### :boom: Breaking changes & Deprecations
|
||||||
|
|||||||
@ -106,9 +106,11 @@
|
|||||||
:overflowWrap "initial"
|
:overflowWrap "initial"
|
||||||
:lineBreak "auto"
|
:lineBreak "auto"
|
||||||
:whiteSpace "break-spaces"
|
:whiteSpace "break-spaces"
|
||||||
:textRendering "geometricPrecision"
|
:textRendering "geometricPrecision"}
|
||||||
:display "inline-block"
|
base (cond-> base
|
||||||
:verticalAlign "top"}
|
(= (:line-height data) "0")
|
||||||
|
(-> (obj/set! "display" "inline-block")
|
||||||
|
(obj/set! "verticalAlign" "top")))
|
||||||
fills
|
fills
|
||||||
(cond
|
(cond
|
||||||
;; DEPRECATED: still here for backward compatibility with
|
;; DEPRECATED: still here for backward compatibility with
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user