From: SleeplessOne1917 Date: Thu, 22 Jun 2023 16:52:47 +0000 (+0000) Subject: Fix avatar alignment issue (#1475) X-Git-Url: http://these/git/ui/assets/static/%22%7Burl%7D/%22?a=commitdiff_plain;h=aa72a7d80561e3b7731337bfcd0e8fc922169144;p=lemmy-ui.git Fix avatar alignment issue (#1475) --- diff --git a/src/shared/components/common/pictrs-image.tsx b/src/shared/components/common/pictrs-image.tsx index 7443749..31fb122 100644 --- a/src/shared/components/common/pictrs-image.tsx +++ b/src/shared/components/common/pictrs-image.tsx @@ -22,7 +22,7 @@ export class PictrsImage extends Component { render() { return ( - + @@ -31,7 +31,7 @@ export class PictrsImage extends Component { alt={this.alt()} title={this.alt()} loading="lazy" - className={classNames({ + className={classNames("overflow-hidden pictrs-image", { "img-fluid": !this.props.icon && !this.props.iconOverlay, banner: this.props.banner, "thumbnail rounded":