Updated NFT card rendering for emails

refs https://github.com/TryGhost/Team/issues/1211

This adds custom rendering for nft cards in emails, using tables instead
of flexbox for alignment.

This also updates the button card to add the missing `kg-card` class to
it.
This commit is contained in:
Fabien O'Carroll 2021-11-17 15:46:11 +02:00
parent ca26c3ab0a
commit b2172cec5b
2 changed files with 5 additions and 5 deletions

View File

@ -73,7 +73,7 @@
"@tryghost/job-manager": "0.8.12",
"@tryghost/kg-card-factory": "3.1.0",
"@tryghost/kg-default-atoms": "3.1.0",
"@tryghost/kg-default-cards": "5.6.4",
"@tryghost/kg-default-cards": "5.7.0",
"@tryghost/kg-markdown-html-renderer": "5.1.0",
"@tryghost/kg-mobiledoc-html-renderer": "5.2.0",
"@tryghost/limit-service": "1.0.0",

View File

@ -1409,10 +1409,10 @@
resolved "https://registry.yarnpkg.com/@tryghost/kg-default-atoms/-/kg-default-atoms-3.1.0.tgz#4daff7104c1f261b1b816dd75ae4104009f9c1e6"
integrity sha512-FfROzVgqJWqJ7cVdS9dcALz7rnzNfV8zcrymAJrDTHDsqzAdMfSLe1tNQRm8zas9pyZLsD8zBGmLxG9dr4WFSA==
"@tryghost/kg-default-cards@5.6.4":
version "5.6.4"
resolved "https://registry.yarnpkg.com/@tryghost/kg-default-cards/-/kg-default-cards-5.6.4.tgz#9bcdb5bf0eff47eafd93eb8b21e20f98374ae862"
integrity sha512-297VzKGxB8+eoT03CgJheS3yJG9Mbo79Y5Tqa+JVaiTTdIk/V2TVuU969iJn8/yi5t6bECITFst30ZmKz5b/pw==
"@tryghost/kg-default-cards@5.7.0":
version "5.7.0"
resolved "https://registry.yarnpkg.com/@tryghost/kg-default-cards/-/kg-default-cards-5.7.0.tgz#566274fbcd8775efd7c525ec346cb15868214289"
integrity sha512-uXPCy/4hh8AoPG/cEc5NJq/6s2XX/Azvd38bzzljY63zFRwdzbhiWFEBopPDOupkMjh7VrYmLeoUhRRCU8zHaQ==
dependencies:
"@tryghost/kg-markdown-html-renderer" "^5.1.0"
"@tryghost/url-utils" "^2.0.0"