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.
This commit is contained in:
Billy Wilcosky 2021-02-17 08:51:09 -05:00 committed by GitHub
parent 3baa3c6e35
commit 6d505fb2a3

View File

@ -110,6 +110,11 @@
}
}
@media (any-hover: none) {
.DiscussionListItem-controls > .Dropdown-toggle {
display: none;
}
}
@media @phone {
.DiscussionListItem-controls {