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 cdeb229396
commit 73a8efaec2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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