mirror of
https://github.com/Shadowfita/docmost.git
synced 2025-11-10 04:22:00 +10:00
fix: disable user-select
This commit is contained in:
@ -26,6 +26,7 @@ export default function GlobalAppShell({
|
|||||||
const sidebarRef = useRef(null);
|
const sidebarRef = useRef(null);
|
||||||
|
|
||||||
const startResizing = React.useCallback((mouseDownEvent) => {
|
const startResizing = React.useCallback((mouseDownEvent) => {
|
||||||
|
mouseDownEvent.preventDefault();
|
||||||
setIsResizing(true);
|
setIsResizing(true);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
|||||||
@ -7,6 +7,7 @@
|
|||||||
transition: background-color 0.2s;
|
transition: background-color 0.2s;
|
||||||
padding: 0 0.25rem;
|
padding: 0 0.25rem;
|
||||||
margin: 0 0.1rem;
|
margin: 0 0.1rem;
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
&.empty {
|
&.empty {
|
||||||
color: light-dark(var(--mantine-color-gray-6), var(--mantine-color-gray-4));
|
color: light-dark(var(--mantine-color-gray-6), var(--mantine-color-gray-4));
|
||||||
@ -30,6 +31,7 @@
|
|||||||
transition: background-color 0.2s;
|
transition: background-color 0.2s;
|
||||||
margin: 0 0.1rem;
|
margin: 0 0.1rem;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
.textInput {
|
.textInput {
|
||||||
width: 400px;
|
width: 400px;
|
||||||
|
|||||||
@ -6,6 +6,7 @@
|
|||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section {
|
.section {
|
||||||
|
|||||||
Reference in New Issue
Block a user