mirror of
https://github.com/penpot/penpot.git
synced 2025-07-23 17:17:13 +02:00
✨ Dynamic preview html output
This commit is contained in:
parent
723c14bef2
commit
641f8fb250
9 changed files with 217 additions and 20 deletions
|
@ -21,7 +21,6 @@
|
|||
;;
|
||||
(def prelude "
|
||||
html, body {
|
||||
background-color: #E8E9EA;
|
||||
margin: 0;
|
||||
min-height: 100%;
|
||||
min-width: 100%;
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
(:layout-item-h-sizing shape)
|
||||
(:layout-item-v-sizing shape))]
|
||||
(cond
|
||||
(or (and (ctl/any-layout? shape) (= sizing :auto))
|
||||
(or (and (ctl/any-layout? shape) (= sizing :auto) (not (svg-markup? shape)))
|
||||
(and (ctl/any-layout-immediate-child? objects shape) (= sizing :fill)))
|
||||
sizing
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue