mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 21:17:40 +08:00

In the topic lists, it's important that we apply `pointer-events: none;` to the links. 0e371d4 updated the selector used for this css. In `templates/list/topic-list-item.hbs`, `.main-link` is applied to the same element as `.topic-list-data`, so the new selector applied correctly. In `templates/mobile/list/topic-list-item.hbr`, `.main-link` is nested within `.topic-list-data`, so the new selector did not apply correctly. This commit switches the selector back to simply `.main-link`, so that it works for both mobile and desktop.