Skip to content

Commit

Permalink
Update DiscussionListItem.less to fix double tap on mobile (#2607)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zerosonesfun authored Feb 17, 2021
1 parent cdeb229 commit 73a8efa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions less/forum/DiscussionListItem.less
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@
}
}

@media (any-hover: none) {
.DiscussionListItem-controls > .Dropdown-toggle {
display: none;
}
}

@media @phone {
.DiscussionListItem-controls {
Expand Down

0 comments on commit 73a8efa

Please sign in to comment.