A platform for community discussion. Free, open, simple.
FIX: use unselectable mixin in sidebar drag and drop (#20886)
Krzysztof Kotlarekfd718c1a421b
diff --git a/app/assets/stylesheets/common/base/sidebar-custom-section.scss b/app/assets/stylesheets/common/base/sidebar-custom-section.scssindex 3aebcc91251..da82818f80b 100644--- a/app/assets/stylesheets/common/base/sidebar-custom-section.scss+++ b/app/assets/stylesheets/common/base/sidebar-custom-section.scss@@ -20,11 +20,7 @@a {-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;+ @include unselectable;}.sidebar-section-wrapper.disabled {diff --git a/app/assets/stylesheets/common/base/sidebar.scss b/app/assets/stylesheets/common/base/sidebar.scssindex 57d4942efd0..a7a40195f08 100644--- a/app/assets/stylesheets/common/base/sidebar.scss+++ b/app/assets/stylesheets/common/base/sidebar.scss@@ -29,12 +29,7 @@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;+ @include unselectable;.footer-nav-ipad & {top: calc(var(--header-offset) + var(--footer-nav-height));