diff --git a/src/common/MetaPreview/MetaPreview.js b/src/common/MetaPreview/MetaPreview.js index f5d0ab4b0..34f5ec75f 100644 --- a/src/common/MetaPreview/MetaPreview.js +++ b/src/common/MetaPreview/MetaPreview.js @@ -155,6 +155,14 @@ const MetaPreview = ({ className, compact, name, logo, background, runtime, rele : null } + { + compact && typeof name === 'string' && name.length > 0 ? +
+ {name} +
+ : + null + } { typeof description === 'string' && description.length > 0 ?
{description}
diff --git a/src/common/MetaPreview/styles.less b/src/common/MetaPreview/styles.less index 4485bfa3d..b88daf4de 100644 --- a/src/common/MetaPreview/styles.less +++ b/src/common/MetaPreview/styles.less @@ -155,6 +155,12 @@ } } + .name-container { + margin-top: 1rem; + font-size: 1.7rem; + color: @color-surface-light5-90; + } + .description-container { max-height: 6em; margin-top: 1rem;