diff --git a/ui/assets/css/main.css b/ui/assets/css/main.css index dcc55f19..2703d550 100644 --- a/ui/assets/css/main.css +++ b/ui/assets/css/main.css @@ -163,3 +163,10 @@ hr { flex: 1; } +.img-blur { + filter: blur(10px); + -webkit-filter: blur(10px); + -moz-filter: blur(10px); + -o-filter: blur(10px); + -ms-filter: blur(10px); +} diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index 0ffabf27..b1db2670 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -160,22 +160,20 @@ export class PostListing extends Component { )} - {post.url && - isImage(post.url) && - !post.nsfw && - !post.community_nsfw && - !this.state.imageExpanded && ( - - - - )} + {post.url && isImage(post.url) && !this.state.imageExpanded && ( + + + + )} {post.url && isVideo(post.url) && (