mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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:
committed by
GitHub
parent
f5fadc3149
commit
b854fa8cdb
@@ -29,6 +29,13 @@
|
|||||||
position: sticky;
|
position: sticky;
|
||||||
top: var(--header-offset);
|
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 & {
|
.footer-nav-ipad & {
|
||||||
top: calc(var(--header-offset) + var(--footer-nav-height));
|
top: calc(var(--header-offset) + var(--footer-nav-height));
|
||||||
height: calc(
|
height: calc(
|
||||||
|
|||||||
Reference in New Issue
Block a user