From: Dessalines Date: Thu, 6 Jan 2022 16:26:32 +0000 (-0500) Subject: Fix banner. Fixes #466 (#534) X-Git-Url: http://these/git/%24%7BgetStaticDir%28%29%7D/styles/%7B%60https:/%24%7Bi%7D%60%7D?a=commitdiff_plain;h=89c68a8478a18f2662ba75abf66e2a6203d5efea;p=lemmy-ui.git Fix banner. Fixes #466 (#534) --- diff --git a/src/shared/components/common/banner-icon-header.tsx b/src/shared/components/common/banner-icon-header.tsx index bca204c..362ac69 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 " }