mirror of
https://github.com/penpot/penpot.git
synced 2025-06-22 22:36:59 +02:00
🐛 Fix allow names selection in dashboard
This commit is contained in:
parent
fe7f4004f1
commit
2c2755b35e
5 changed files with 13 additions and 4 deletions
|
@ -13,6 +13,7 @@
|
||||||
padding: $size-1 $size-4 $size-1 $size-2;
|
padding: $size-1 $size-4 $size-1 $size-2;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
user-select: none;
|
||||||
&.team {
|
&.team {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 20% 1fr 20%;
|
grid-template-columns: 20% 1fr 20%;
|
||||||
|
@ -85,6 +86,7 @@
|
||||||
font-size: $fs22;
|
font-size: $fs22;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
user-select: all;
|
||||||
}
|
}
|
||||||
|
|
||||||
.context-menu.is-open {
|
.context-menu.is-open {
|
||||||
|
|
|
@ -186,6 +186,7 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
// TODO: should be deprecated / unclear name
|
// TODO: should be deprecated / unclear name
|
||||||
&.dashboard-common {
|
&.dashboard-common {
|
||||||
|
@ -223,7 +224,6 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
user-select: none;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
|
|
|
@ -106,6 +106,9 @@
|
||||||
border: 1px dashed $color-gray-20;
|
border: 1px dashed $color-gray-20;
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
|
.table-header {
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
.table-row {
|
.table-row {
|
||||||
background-color: $color-white;
|
background-color: $color-white;
|
||||||
|
@ -148,9 +151,11 @@
|
||||||
|
|
||||||
&.roles {
|
&.roles {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
user-select: none;
|
|
||||||
cursor: default;
|
cursor: default;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
.rol-label {
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
.rol-selector {
|
.rol-selector {
|
||||||
&.has-priv {
|
&.has-priv {
|
||||||
border: 1px solid $color-gray-20;
|
border: 1px solid $color-gray-20;
|
||||||
|
|
|
@ -164,8 +164,10 @@
|
||||||
flex: 1 0 0;
|
flex: 1 0 0;
|
||||||
margin-right: $size-4;
|
margin-right: $size-4;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
user-select: none;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
&.dashboard-projects {
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
&.no-bg {
|
&.no-bg {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
|
@ -407,7 +407,7 @@
|
||||||
[:& interface-walkthrough
|
[:& interface-walkthrough
|
||||||
{:close-walkthrough close-walkthrough}])])
|
{:close-walkthrough close-walkthrough}])])
|
||||||
|
|
||||||
[:div.dashboard-container.no-bg
|
[:div.dashboard-container.no-bg.dashboard-projects
|
||||||
(for [{:keys [id] :as project} projects]
|
(for [{:keys [id] :as project} projects]
|
||||||
(let [files (when recent-map
|
(let [files (when recent-map
|
||||||
(->> (vals recent-map)
|
(->> (vals recent-map)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue