mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 11:21:26 +00:00
fix: Fix circle image aspect ratio
This commit is contained in:
parent
3c6505b9fd
commit
61276ec4e5
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
})}
|
||||
/>
|
||||
<button
|
||||
|
|
Loading…
Reference in a new issue