From 6d505fb2a33068799c5911e65287863deb8c6397 Mon Sep 17 00:00:00 2001 From: Billy Wilcosky <41351317+zerosonesfun@users.noreply.github.com> Date: Wed, 17 Feb 2021 08:51:09 -0500 Subject: [PATCH] Update DiscussionListItem.less to fix double tap on mobile (#2607) Adds a rule to the discussion list less file which targets touch devices whose primary way of interacting does not include a mouse / ability to hover. For those devices the toggle button is hidden which fixes the double tap issue. --- framework/core/less/forum/DiscussionListItem.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/framework/core/less/forum/DiscussionListItem.less b/framework/core/less/forum/DiscussionListItem.less index a06c9e652..9ae569d39 100644 --- a/framework/core/less/forum/DiscussionListItem.less +++ b/framework/core/less/forum/DiscussionListItem.less @@ -110,6 +110,11 @@ } } +@media (any-hover: none) { + .DiscussionListItem-controls > .Dropdown-toggle { + display: none; + } +} @media @phone { .DiscussionListItem-controls {