mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-26 15:40:51 +01:00
Center the catalog header
This commit is contained in:
parent
981e0d65f6
commit
43f3f1895e
@ -17,7 +17,7 @@ export const CatalogHeaderView: FC<CatalogHeaderViewProps> = props =>
|
||||
setDisplayImageUrl(imageUrl ?? GetConfiguration<string>('catalog.asset.image.url').replace('%name%', 'catalog_header_roombuilder'));
|
||||
}, [ imageUrl ]);
|
||||
|
||||
return <Flex center shrink className="nitro-catalog-header">
|
||||
return <Flex center fullWidth className="nitro-catalog-header">
|
||||
<img src={ displayImageUrl } onError={ ({ currentTarget }) =>
|
||||
{
|
||||
currentTarget.src = GetConfiguration<string>('catalog.asset.image.url').replace('%name%', 'catalog_header_roombuilder');
|
||||
|
Loading…
Reference in New Issue
Block a user