mirror of
https://github.com/flarum/core.git
synced 2025-06-07 07:06:10 +02: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…
x
Reference in New Issue
Block a user