# Understanding opacity in hidden revisions

**URL:** https://meta.discourse.org/t/understanding-opacity-in-hidden-revisions/397345
**Category:** UX
**Tags:** fixed, revisions
**Created:** [February 28, 2026, 4:10pm UTC](https://meta.discourse.org/t/understanding-opacity-in-hidden-revisions/397345 "2026-02-28T16:10:11Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [February 28, 2026, 4:10pm UTC](https://meta.discourse.org/t/understanding-opacity-in-hidden-revisions/397345/1 "2026-02-28T16:10:11Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [March 2, 2026, 9:07pm UTC](https://meta.discourse.org/t/understanding-opacity-in-hidden-revisions/397345/2 "2026-03-02T21:07:01Z")

</div>

> [@Moin](#):
>
> 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?

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](https://github.com/discourse/discourse/pull/38159)

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [March 19, 2026, 10:04am UTC](https://meta.discourse.org/t/understanding-opacity-in-hidden-revisions/397345/3 "2026-03-19T10:04:38Z")

</div>



---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [April 20, 2026, 2:35pm UTC](https://meta.discourse.org/t/understanding-opacity-in-hidden-revisions/397345/4 "2026-04-20T14:35:42Z")

</div>



---

<div class="post-metadata">

### Author: ![darkpixlz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/darkpixlz/32/549896_2.png) [@darkpixlz](https://meta.discourse.org/u/darkpixlz)
#### Post date: [April 20, 2026, 2:37pm UTC](https://meta.discourse.org/t/understanding-opacity-in-hidden-revisions/397345/5 "2026-04-20T14:37:23Z")

</div>


