mirror of
https://github.com/penpot/penpot.git
synced 2026-09-10 14:09:17 +00:00
🐛 Fix problem with fonts and thumbnails
This commit is contained in:
parent
ba139d7d2c
commit
0fc2c312d5
@ -68,7 +68,7 @@
|
|||||||
;; Calculate the data-uris for these fonts
|
;; Calculate the data-uris for these fonts
|
||||||
fonts-embed (embed/use-data-uris fonts-urls)
|
fonts-embed (embed/use-data-uris fonts-urls)
|
||||||
|
|
||||||
loading? (d/seek #(not (contains? fonts-embed %)) fonts-urls)
|
loading? (some? (d/seek #(not (contains? fonts-embed %)) fonts-urls))
|
||||||
|
|
||||||
;; Creates a style tag by replacing the urls with the data uri
|
;; Creates a style tag by replacing the urls with the data uri
|
||||||
style (replace-embeds fonts-css fonts-urls fonts-embed)]
|
style (replace-embeds fonts-css fonts-urls fonts-embed)]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user