diff --git a/src/components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate.jsx b/src/components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate.jsx index 3dc1c75e4..dfeb25a6b 100644 --- a/src/components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate.jsx +++ b/src/components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate.jsx @@ -83,6 +83,11 @@ const CardWithImageRssTemplate = ({ {' '} {item.title} +
+ {item?.source?.length > 0 && ( + {item.source} + )} +
{item.title} +
+ {item?.source?.length > 0 && ( + {item.source} + )} +
{item.contentSnippet} diff --git a/src/theme/ItaliaTheme/Blocks/_rssBlock.scss b/src/theme/ItaliaTheme/Blocks/_rssBlock.scss index b765aee26..4e2fe4ab5 100644 --- a/src/theme/ItaliaTheme/Blocks/_rssBlock.scss +++ b/src/theme/ItaliaTheme/Blocks/_rssBlock.scss @@ -1,3 +1,20 @@ +.rssBlock { + .card { + .card-body { + .source-title { + font-size: $card-category-size; + text-transform: uppercase; + color: $card-p-color; + margin-bottom: $card-category-m-bottom; + .source { + font-weight: bold; + letter-spacing: $card-category-l-spacing; + } + } + } + } +} + #text-body { .rssBlock { .row > * {