diff --git a/frontend/src/app/main/ui/workspace/shapes/text/v2_editor.cljs b/frontend/src/app/main/ui/workspace/shapes/text/v2_editor.cljs index 517ce5bff8..4862b5a7e6 100644 --- a/frontend/src/app/main/ui/workspace/shapes/text/v2_editor.cljs +++ b/frontend/src/app/main/ui/workspace/shapes/text/v2_editor.cljs @@ -317,7 +317,7 @@ max-height (max height selrect-height) valign (-> shape :content :vertical-align) y (:y selrect) - y (if (> height selrect-height) + y (if (and valign (> height selrect-height)) (case valign "bottom" (- y (- height selrect-height)) "center" (- y (/ (- height selrect-height) 2))