How to prevent that hidden post can be expanded

Is there a way for the user to correct the post if it’s not visible? If you want to make the view 1 hidden reply link not visible, that line is <div class="gap">view 1 hidden reply</div> so you can just .gap {display: none}. Not sure what else the gap class covers that you’ll also end up hiding though