diff --git a/packages/nc-gui/assets/css/global.css b/packages/nc-gui/assets/css/global.css index a5fc24015a..97f2a61ed7 100644 --- a/packages/nc-gui/assets/css/global.css +++ b/packages/nc-gui/assets/css/global.css @@ -30,15 +30,4 @@ For Drag and Drop */ .grabbing * { cursor: grabbing; -} - -/* -Prevent Ctrl + A selection -*/ -.non-selectable { - -webkit-user-select: none; - -webkit-touch-callout: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} +} \ No newline at end of file diff --git a/packages/nc-gui/utils/viewUtils.ts b/packages/nc-gui/utils/viewUtils.ts index 29425e31bc..d70ee0d4b8 100644 --- a/packages/nc-gui/utils/viewUtils.ts +++ b/packages/nc-gui/utils/viewUtils.ts @@ -41,10 +41,6 @@ export function applyLanguageDirection(dir: typeof rtl | typeof ltr) { document.body.style.direction = dir } -export function applyNonSelectable() { - document.body.classList.add('non-selectable') -} - export const getViewIcon = (key?: string | number) => { if (!key) return