From e906596942155290e7b264b8f8ea6c09a5aff1c8 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Fri, 19 Nov 2021 13:47:53 +0000 Subject: [PATCH] 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. --- app/assets/stylesheets/common/base/_topic-list.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss index 7480ccf0308..e82d928251b 100644 --- a/app/assets/stylesheets/common/base/_topic-list.scss +++ b/app/assets/stylesheets/common/base/_topic-list.scss @@ -228,7 +228,7 @@ font-size: $font-0; } - .topic-list-data.main-link { + .main-link { @extend .topic-list-main-link; .raw-topic-link > * {