mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-28 03:13:14 +00:00
Merge branch 'main' into feat/add-badges-common-component
This commit is contained in:
commit
fb678d10f8
|
@ -22,7 +22,7 @@ export class PictrsImage extends Component<PictrsImageProps, any> {
|
|||
|
||||
render() {
|
||||
return (
|
||||
<picture>
|
||||
<picture className="d-inline-block overflow-hidden">
|
||||
<source srcSet={this.src("webp")} type="image/webp" />
|
||||
<source srcSet={this.props.src} />
|
||||
<source srcSet={this.src("jpg")} type="image/jpeg" />
|
||||
|
|
Loading…
Reference in a new issue