diff --git a/CHANGES.md b/CHANGES.md index 8080ea27e5..92e241c210 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) - Fix pan cursor not disabling viewport guides [Github #6985](https://github.com/penpot/penpot/issues/6985) - Fix viewport resize on locked shapes [Taiga #11974](https://tree.taiga.io/project/penpot/issue/11974) 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