0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-18 10:41:29 -05:00

Disable text selection only in workspace and viewer

This commit is contained in:
Andrés Moya 2020-06-17 09:54:56 +02:00
parent 4fb8a3dc8d
commit 8c49d11026
4 changed files with 6 additions and 2 deletions

View file

@ -13,7 +13,6 @@ body {
font-family: "sourcesanspro", sans-serif;
height: 100%;
overflow: hidden;
user-select: none;
}
* {

View file

@ -2,6 +2,7 @@
display: grid;
grid-template-rows: 40px auto;
grid-template-columns: 1fr;
user-select: none;
&.fullscreen {
.viewer-header {

View file

@ -5,6 +5,10 @@
// Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>
// Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciajuan@gmail.com>
#workspace {
user-select: none;
}
.workspace-context-menu {
background-color: $color-white;
border-radius: $br-small;

View file

@ -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}]