Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 14 additions & 8 deletions frontend/packages/client/src/pages/Community.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export default function Community() {
!notMobile,
}
);
const imageClases = classnames(
const imageClasses = classnames(
{
'rounded-full community-logo-mobile': !notMobile,
},
Expand All @@ -279,13 +279,19 @@ export default function Community() {
<div className="is-flex community-specific">
<div className={imageContainerClasses}>
{logo ? (
<img
className={imageClases}
alt="community banner"
src={logo}
height="85px"
width="85px"
/>
<div
role="img"
aria-label="community banner"
className={imageClasses}
style={{
width: 85,
height: 85,
backgroundImage: `url(${logo})`,
backgroundRepeat: 'no-repeat',
backgroundPosition: 'center',
backgroundSize: 'cover',
}}
></div>
) : (
<Blockies
seed={slug ?? `seed-${id}`}
Expand Down