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:
Krzysztof Kotlarek 2023-03-29 14:32:28 +11:00 committed by GitHub
parent f5fadc3149
commit b854fa8cdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(