mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 19:41:19 +08:00
FIX: use unselectable mixin in sidebar drag and drop (#20886)
7dcaaec90c/app/assets/stylesheets/common/foundation/mixins.scss (L122)
This commit is contained in:

committed by
GitHub

parent
347681dd20
commit
fd718c1a42
@ -20,11 +20,7 @@
|
|||||||
|
|
||||||
a {
|
a {
|
||||||
-webkit-touch-callout: none !important;
|
-webkit-touch-callout: none !important;
|
||||||
-webkit-user-select: none !important;
|
@include unselectable;
|
||||||
-moz-user-select: none !important;
|
|
||||||
-ms-user-select: none !important;
|
|
||||||
-o-user-select: none !important;
|
|
||||||
user-select: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-section-wrapper.disabled {
|
.sidebar-section-wrapper.disabled {
|
||||||
|
@ -29,12 +29,7 @@
|
|||||||
position: sticky;
|
position: sticky;
|
||||||
top: var(--header-offset);
|
top: var(--header-offset);
|
||||||
|
|
||||||
-webkit-touch-callout: none !important;
|
@include unselectable;
|
||||||
-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));
|
||||||
|
Reference in New Issue
Block a user