Conversation

VentingNonsense

is there a way to remove images from the flexbox if they have NSFW in the URL? I managed to hide it with a[href*="NSFW"]{display:none} but it leaves a blank space in the flexbox

1
0
0

ok it’s because the <a> tag was a grandchild of the flex element, I had to select the direct child with li:has(a[href*="NSFW"]){display:none}

0
0
1