Expand post on activity page not working

When going to the activity page for any user, the expand/collapse button on larger posts doesn’t work. Clicking it will not expand the post, and only turns the button around and moves it to above the link to the topic. This happens both on desktop and on mobile.

image

1 curtida

Can you repro this @jomaxro?

Posso confirmar isso no Firefox e no Chrome.
Ao clicar no ícone, a postagem não é expandida e o ícone se move junto com o avatar, em vez de permanecer em sua posição correta.

4 curtidas

So maybe a regression here @eviltrout?

1 curtida

Pedantically, not a regression because “collapse” is a new feature I added. I just didn’t style it properly in the master branch :slight_smile:

https://github.com/discourse/discourse/commit/55e5cfcc679acac94e802feba7ab2cc65969f2bc

4 curtidas

This fixes the broken expansion on the user page:

https://github.com/discourse/discourse/commit/7ecc15cad14556cc0c9d0a9056f043fd4bdbd403

6 curtidas