mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
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:
parent
3baa3c6e35
commit
6d505fb2a3
|
@ -110,6 +110,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media (any-hover: none) {
|
||||
.DiscussionListItem-controls > .Dropdown-toggle {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media @phone {
|
||||
.DiscussionListItem-controls {
|
||||
|
|
Loading…
Reference in New Issue
Block a user