From 8ba574ce28092846a62ad65d5bdfd02c9ef78bdf Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 22 Dec 2021 11:32:08 -0500 Subject: [PATCH] Fix banner. Fixes #466 --- src/shared/components/common/banner-icon-header.tsx | 4 +++- src/shared/components/common/pictrs-image.tsx | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/shared/components/common/banner-icon-header.tsx b/src/shared/components/common/banner-icon-header.tsx index bca204c9..362ac696 100644 --- a/src/shared/components/common/banner-icon-header.tsx +++ b/src/shared/components/common/banner-icon-header.tsx @@ -14,7 +14,9 @@ export class BannerIconHeader extends Component { render() { return (
- {this.props.banner && } + {this.props.banner && ( + + )} {this.props.icon && ( { loading="lazy" className={` ${!this.props.icon && !this.props.iconOverlay && "img-fluid "} + ${this.props.banner && "banner "} ${ - this.props.thumbnail && !this.props.icon + this.props.thumbnail && !this.props.icon && !this.props.banner ? "thumbnail rounded " : "img-expanded " }