diff --git a/src/shared/components/common/image-upload-form.tsx b/src/shared/components/common/image-upload-form.tsx index 44a934e9..890f47f2 100644 --- a/src/shared/components/common/image-upload-form.tsx +++ b/src/shared/components/common/image-upload-form.tsx @@ -42,9 +42,9 @@ export class ImageUploadForm extends Component< src={this.props.imageSrc} height={this.props.rounded ? 60 : ""} width={this.props.rounded ? 60 : ""} - className={classNames("img-fluid", { - "rounded-circle ratio ratio-1x1 object-fit-cover": - this.props.rounded, + className={classNames({ + "rounded-circle object-fit-cover": this.props.rounded, + "img-fluid": !this.props.rounded, })} />