diff --git a/frontend/resources/styles/common/base.scss b/frontend/resources/styles/common/base.scss index ee3ea713b..7c0d40f44 100644 --- a/frontend/resources/styles/common/base.scss +++ b/frontend/resources/styles/common/base.scss @@ -13,7 +13,6 @@ body { font-family: "sourcesanspro", sans-serif; height: 100%; overflow: hidden; - user-select: none; } * { diff --git a/frontend/resources/styles/main/layouts/viewer.scss b/frontend/resources/styles/main/layouts/viewer.scss index 1b7c73abf..f483f7c8f 100644 --- a/frontend/resources/styles/main/layouts/viewer.scss +++ b/frontend/resources/styles/main/layouts/viewer.scss @@ -2,6 +2,7 @@ display: grid; grid-template-rows: 40px auto; grid-template-columns: 1fr; + user-select: none; &.fullscreen { .viewer-header { diff --git a/frontend/resources/styles/main/partials/workspace.scss b/frontend/resources/styles/main/partials/workspace.scss index 8d56341e9..74bfa41d4 100644 --- a/frontend/resources/styles/main/partials/workspace.scss +++ b/frontend/resources/styles/main/partials/workspace.scss @@ -5,6 +5,10 @@ // Copyright (c) 2015-2016 Andrey Antukh // Copyright (c) 2015-2016 Juan de la Cruz +#workspace { + user-select: none; +} + .workspace-context-menu { background-color: $color-white; border-radius: $br-small; diff --git a/frontend/src/uxbox/main/ui/workspace.cljs b/frontend/src/uxbox/main/ui/workspace.cljs index 83c55dac8..8d99d9ecb 100644 --- a/frontend/src/uxbox/main/ui/workspace.cljs +++ b/frontend/src/uxbox/main/ui/workspace.cljs @@ -115,7 +115,7 @@ (let [file (mf/deref refs/workspace-file) project (mf/deref refs/workspace-project) layout (mf/deref refs/workspace-layout)] - [:section + [:section#workspace [:& header {:file file :project project :layout layout}]