mirror of
https://github.com/penpot/penpot.git
synced 2026-04-27 12:18:32 +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
|
||||
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
|
||||
style (replace-embeds fonts-css fonts-urls fonts-embed)]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user