mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 21:02:48 +08:00
FIX: disable text select on sidebar (#20871)
To make drag&drop links reliable, we have to disable user-select option on whole sidebar. https://developer.mozilla.org/en-US/docs/Web/CSS/user-select
This commit is contained in:
parent
f5fadc3149
commit
b854fa8cdb
|
@ -29,6 +29,13 @@
|
|||
position: sticky;
|
||||
top: var(--header-offset);
|
||||
|
||||
-webkit-touch-callout: none !important;
|
||||
-webkit-user-select: none !important;
|
||||
-moz-user-select: none !important;
|
||||
-ms-user-select: none !important;
|
||||
-o-user-select: none !important;
|
||||
user-select: none;
|
||||
|
||||
.footer-nav-ipad & {
|
||||
top: calc(var(--header-offset) + var(--footer-nav-height));
|
||||
height: calc(
|
||||
|
|
Loading…
Reference in New Issue
Block a user