🐛 Fix problem with text margin while rendering

This commit is contained in:
alonso.torres 2021-10-05 16:51:29 +02:00
parent 013f56347d
commit 75a7ce24bf
3 changed files with 3 additions and 1 deletions

View file

@ -14,6 +14,7 @@
- Fix menu context for single element nested in components [#1186](https://github.com/penpot/penpot/issues/1186) - Fix menu context for single element nested in components [#1186](https://github.com/penpot/penpot/issues/1186)
- Fix error screen when operations over comments fail [#1219](https://github.com/penpot/penpot/issues/1219) - Fix error screen when operations over comments fail [#1219](https://github.com/penpot/penpot/issues/1219)
- Fix undo problem when changing typography/color from library [#1230](https://github.com/penpot/penpot/issues/1230) - Fix undo problem when changing typography/color from library [#1230](https://github.com/penpot/penpot/issues/1230)
- Fix problem with text margin while rendering [#1231](https://github.com/penpot/penpot/issues/1231)
### :arrow_up: Deps updates ### :arrow_up: Deps updates
### :boom: Breaking changes ### :boom: Breaking changes

View file

@ -40,6 +40,7 @@
:justifyContent "inherit" :justifyContent "inherit"
:minHeight (when-not (or auto-width? auto-height?) "100%") :minHeight (when-not (or auto-width? auto-height?) "100%")
:minWidth (when-not auto-width? "100%") :minWidth (when-not auto-width? "100%")
:marginRight "1px"
:verticalAlign "top"})) :verticalAlign "top"}))
(defn generate-paragraph-styles (defn generate-paragraph-styles

View file

@ -197,7 +197,7 @@
[:& use/export-page {:options options}] [:& use/export-page {:options options}]
[:& (mf/provider use/include-metadata-ctx) {:value true} [:& (mf/provider use/include-metadata-ctx) {:value false}
[:& (mf/provider embed/context) {:value true} [:& (mf/provider embed/context) {:value true}
;; Render root shape ;; Render root shape
[:& shapes/root-shape {:key page-id [:& shapes/root-shape {:key page-id