From cf73a8a98fa41d7fc1d851b01b921eda89e8e4e8 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. --- less/forum/DiscussionListItem.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/less/forum/DiscussionListItem.less b/less/forum/DiscussionListItem.less index a06c9e652ae..9ae569d3964 100644 --- a/less/forum/DiscussionListItem.less +++ b/less/forum/DiscussionListItem.less @@ -110,6 +110,11 @@ } } +@media (any-hover: none) { + .DiscussionListItem-controls > .Dropdown-toggle { + display: none; + } +} @media @phone { .DiscussionListItem-controls {