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:
David Taylor 2021-11-19 13:47:53 +00:00 committed by GitHub
parent b0d8d9e73d
commit e906596942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@
font-size: $font-0; font-size: $font-0;
} }
.topic-list-data.main-link { .main-link {
@extend .topic-list-main-link; @extend .topic-list-main-link;
.raw-topic-link > * { .raw-topic-link > * {