숨겨진 개정본의 불투명성 이해하기

I noticed that when a revision is hidden, different levels of opacity are added.
First, opacity is added to the previous version. This makes sense to me as an indicator that it is no longer visible to other users.

However, opacity is also added to the heading of the topic on the right-hand side, but not to the content. I don’t understand this. I’d expect it to either be added to both elements or none. Is this intentional?

3개의 좋아요

It does not appear to be intentional, we use some fragile CSS selectors here (nth-of-type) so it seems we’re just applying the style in places we shouldn’t. Solution is to apply the styles to explicit class names… doing this here:

https://github.com/discourse/discourse/pull/38159

4개의 좋아요