mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 14:24:46 +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
cdeb229396
commit
73a8efaec2
|
@ -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