diff --git a/core/server/services/mega/template.js b/core/server/services/mega/template.js index f807a8a52f..606216f41d 100644 --- a/core/server/services/mega/template.js +++ b/core/server/services/mega/template.js @@ -544,60 +544,17 @@ figure blockquote p { border-width: 0.8em 0 0.8em 1.5em; } -a.kg-nft-card { - display: flex; - flex-direction: column; - color: #15212A; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; - font-size: 15px; - text-decoration: none; - border-radius: 3px; - border: 1px solid #e5eff5; - width: 100%; - max-width: 512px; - color: #222; - background: #fff; - margin: 0 auto; -} - -.kg-nft-metadata { - padding: 20px; -} - -.kg-nft-image { - border-radius: 2px 2px 0 0; -} - -.kg-nft-header { - display: flex; - justify-content: space-between; - gap: 20px; -} - -.kg-nft-title { - font-family: inherit; - font-size: 19px; - font-weight: 700; - margin: 0; - color: #222; -} - -.kg-nft-creator { - font-family: inherit; - margin: 4px 0 0; - color: #ababab; -} - -.kg-nft-creator-name { - font-weight: 500; - color: #222; -} - -.kg-nft-description { - font-family: inherit; - line-height: 1.4em; - margin: 12px 0 0; - color: #222; +.kg-nft-link { + display: block; + text-decoration: none !important; + color: #15212A !important; + font-family: inherit !important; + font-size: 14px; + line-height: 1.3em; + padding-top: 4px; + padding-right: 20px; + padding-left: 20px; + padding-bottom: 4px; } .kg-card-callout { diff --git a/core/server/services/nft-oembed.js b/core/server/services/nft-oembed.js index a6a3341ceb..72a3371456 100644 --- a/core/server/services/nft-oembed.js +++ b/core/server/services/nft-oembed.js @@ -48,7 +48,8 @@ class NFTOEmbedProvider { provider_url: 'https://opensea.io', image_url: result.body.image_url, creator_name: result.body.creator.user.username, - description: result.body.description + description: result.body.description, + collection_name: result.body.collection.name }; } }