diff --git a/src/components/catalog/CatalogView.scss b/src/components/catalog/CatalogView.scss index 7657fa17..4101cd13 100644 --- a/src/components/catalog/CatalogView.scss +++ b/src/components/catalog/CatalogView.scss @@ -20,13 +20,6 @@ } } -.catalog-icon-image { - width: 20px; - height: 20px; - min-width: 20px; - min-height: 20px; -} - .nitro-catalog-gift { width: 325px; diff --git a/src/components/catalog/views/catalog-icon/CatalogIconView.tsx b/src/components/catalog/views/catalog-icon/CatalogIconView.tsx index e287d9cf..7c28ac94 100644 --- a/src/components/catalog/views/catalog-icon/CatalogIconView.tsx +++ b/src/components/catalog/views/catalog-icon/CatalogIconView.tsx @@ -16,5 +16,5 @@ export const CatalogIconView: FC = props => return ((GetConfiguration('catalog.asset.icon.url')).replace('%name%', icon.toString())); }, [ icon ]); - return ; + return ; } diff --git a/src/components/catalog/views/page/layout/frontpage4/CatalogLayoutFrontPageItemView.tsx b/src/components/catalog/views/page/layout/frontpage4/CatalogLayoutFrontPageItemView.tsx index 8ce38aac..76e790ab 100644 --- a/src/components/catalog/views/page/layout/frontpage4/CatalogLayoutFrontPageItemView.tsx +++ b/src/components/catalog/views/page/layout/frontpage4/CatalogLayoutFrontPageItemView.tsx @@ -1,10 +1,10 @@ import { FrontPageItem } from '@nitrots/nitro-renderer'; import { FC, useMemo } from 'react'; import { GetConfiguration } from '../../../../../../api'; -import { LayoutImage, LayoutImageProps } from '../../../../../../common/layout/LayoutImage'; +import { LayoutBackgroundImage, LayoutBackgroundImageProps } from '../../../../../../common'; import { Text } from '../../../../../../common/Text'; -export interface CatalogLayoutFrontPageItemViewProps extends LayoutImageProps +export interface CatalogLayoutFrontPageItemViewProps extends LayoutBackgroundImageProps { item: FrontPageItem; } @@ -27,11 +27,11 @@ export const CatalogLayoutFrontPageItemView: FC('image.library.url') + item.itemPromoImage); return ( - + { item.itemName } { children } - + ); } diff --git a/src/components/catalog/views/page/layout/marketplace/CatalogLayoutMarketplaceItemView.tsx b/src/components/catalog/views/page/layout/marketplace/CatalogLayoutMarketplaceItemView.tsx index b59f32e9..5a23cb48 100644 --- a/src/components/catalog/views/page/layout/marketplace/CatalogLayoutMarketplaceItemView.tsx +++ b/src/components/catalog/views/page/layout/marketplace/CatalogLayoutMarketplaceItemView.tsx @@ -68,7 +68,7 @@ export const CatalogLayoutMarketplaceItemView: FC = pr return ( - + { getMarketplaceOfferTitle } { (type === OWN_OFFER) && diff --git a/src/components/catalog/views/page/layout/vip-gifts/VipGiftItemView.tsx b/src/components/catalog/views/page/layout/vip-gifts/VipGiftItemView.tsx index a3d2114b..59a8a205 100644 --- a/src/components/catalog/views/page/layout/vip-gifts/VipGiftItemView.tsx +++ b/src/components/catalog/views/page/layout/vip-gifts/VipGiftItemView.tsx @@ -47,7 +47,7 @@ export const VipGiftItem : FC = props => return ( - + { getItemTitle() }