Preview a search result or route point on hover / press-and-hold, back on leave, committed on click
This commit is contained in:
1 parent
abde7fe5f9
commit
b80575828a
5 files changed
+123
No files matched your search
@@ -2391,3 +2391,19 @@ html, body {
|
||||
margin-top: 6px;
|
||||
padding: 3px 8px;
|
||||
}
|
||||
|
||||
/* Places that preview on hover / press-and-hold (public/js/preview.js):
|
||||
no text selection or callout menu getting in the way of the hold. */
|
||||
.search-panel__result,
|
||||
.route-panel__point {
|
||||
-webkit-touch-callout: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.route-panel__point {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.preview-highlight {
|
||||
pointer-events: none;
|
||||
}
|
||||
Reference in new issue
Block a user