From b4cd955484af27f6d2fc2835c72baa37231d3f44 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Mon, 13 Oct 2025 13:12:33 +0200 Subject: [PATCH] :bug: Text line-height values are wrong --- CHANGES.md | 1 + frontend/src/app/main/ui/shapes/text/styles.cljs | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) 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