diff --git a/CHANGES.md b/CHANGES.md index 206c5d72d0..98189dc8b7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -11,6 +11,7 @@ ### :sparkles: New features & Enhancements ### :bug: Bugs fixed +- Fix text line-height values are wrong [Taiga #12252](https://tree.taiga.io/project/penpot/issue/12252) ## 2.11.0 (Unreleased) diff --git a/frontend/src/app/main/ui/shapes/text/styles.cljs b/frontend/src/app/main/ui/shapes/text/styles.cljs index e691e22952..6e739ada49 100644 --- a/frontend/src/app/main/ui/shapes/text/styles.cljs +++ b/frontend/src/app/main/ui/shapes/text/styles.cljs @@ -106,7 +106,9 @@ :overflowWrap "initial" :lineBreak "auto" :whiteSpace "break-spaces" - :textRendering "geometricPrecision"} + :textRendering "geometricPrecision" + :display "inline-block" + :verticalAlign "top"} fills (cond ;; DEPRECATED: still here for backward compatibility with