Merge pull request #1251 from fheft/fix-nsfw-blur-spill
Fixed NSFW image blur spilling outside the preview
This commit is contained in:
commit
cbbd0c0f82
1 changed files with 1 additions and 1 deletions
|
@ -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