mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 12:13:58 -06:00
FIX: Ensure mobile topic-list links are treated as Ember transitions (#15022)
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.
This commit is contained in:
parent
b0d8d9e73d
commit
e906596942
@ -228,7 +228,7 @@
|
||||
font-size: $font-0;
|
||||
}
|
||||
|
||||
.topic-list-data.main-link {
|
||||
.main-link {
|
||||
@extend .topic-list-main-link;
|
||||
|
||||
.raw-topic-link > * {
|
||||
|
Loading…
Reference in New Issue
Block a user