diff --git a/apps/client/src/components/layouts/global/global-app-shell.tsx b/apps/client/src/components/layouts/global/global-app-shell.tsx index 4740027..e5fe224 100644 --- a/apps/client/src/components/layouts/global/global-app-shell.tsx +++ b/apps/client/src/components/layouts/global/global-app-shell.tsx @@ -26,6 +26,7 @@ export default function GlobalAppShell({ const sidebarRef = useRef(null); const startResizing = React.useCallback((mouseDownEvent) => { + mouseDownEvent.preventDefault(); setIsResizing(true); }, []); diff --git a/apps/client/src/features/editor/components/math/math.module.css b/apps/client/src/features/editor/components/math/math.module.css index 0bd15f7..fca3c6e 100644 --- a/apps/client/src/features/editor/components/math/math.module.css +++ b/apps/client/src/features/editor/components/math/math.module.css @@ -7,6 +7,7 @@ transition: background-color 0.2s; padding: 0 0.25rem; margin: 0 0.1rem; + user-select: none; &.empty { color: light-dark(var(--mantine-color-gray-6), var(--mantine-color-gray-4)); @@ -30,6 +31,7 @@ transition: background-color 0.2s; margin: 0 0.1rem; overflow-x: auto; + user-select: none; .textInput { width: 400px; diff --git a/apps/client/src/features/space/components/sidebar/space-sidebar.module.css b/apps/client/src/features/space/components/sidebar/space-sidebar.module.css index b4a9b17..e2e0f6b 100644 --- a/apps/client/src/features/space/components/sidebar/space-sidebar.module.css +++ b/apps/client/src/features/space/components/sidebar/space-sidebar.module.css @@ -6,6 +6,7 @@ padding-top: 0; display: flex; flex-direction: column; + user-select: none; } .section {