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:
parent
4fb8a3dc8d
commit
8c49d11026
4 changed files with 6 additions and 2 deletions
|
@ -13,7 +13,6 @@ body {
|
|||
font-family: "sourcesanspro", sans-serif;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
* {
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
display: grid;
|
||||
grid-template-rows: 40px auto;
|
||||
grid-template-columns: 1fr;
|
||||
user-select: none;
|
||||
|
||||
&.fullscreen {
|
||||
.viewer-header {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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}]
|
||||
|
|
Loading…
Add table
Reference in a new issue