Merge pull request #1251 from fheft/fix-nsfw-blur-spill

Fixed NSFW image blur spilling outside the preview
This commit is contained in:
SleeplessOne1917 2023-06-17 02:32:25 +00:00 committed by GitHub
commit cbbd0c0f82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" />