0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-23 15:26:29 -05:00

🐛 Fix allow names selection in dashboard

This commit is contained in:
Eva 2023-01-09 14:26:24 +01:00
parent fe7f4004f1
commit 2c2755b35e
5 changed files with 13 additions and 4 deletions

View file

@ -13,6 +13,7 @@
padding: $size-1 $size-4 $size-1 $size-2;
position: relative;
z-index: 10;
user-select: none;
&.team {
display: grid;
grid-template-columns: 20% 1fr 20%;
@ -85,6 +86,7 @@
font-size: $fs22;
font-weight: 600;
z-index: 10;
user-select: all;
}
.context-menu.is-open {

View file

@ -186,6 +186,7 @@
flex-direction: column;
overflow-y: auto;
margin: 0;
user-select: none;
// TODO: should be deprecated / unclear name
&.dashboard-common {
@ -223,7 +224,6 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
user-select: none;
}
&::before {

View file

@ -106,6 +106,9 @@
border: 1px dashed $color-gray-20;
margin-top: 16px;
}
.table-header {
user-select: none;
}
.table-row {
background-color: $color-white;
@ -148,9 +151,11 @@
&.roles {
flex-grow: 1;
user-select: none;
cursor: default;
position: relative;
.rol-label {
user-select: none;
}
.rol-selector {
&.has-priv {
border: 1px solid $color-gray-20;

View file

@ -164,8 +164,10 @@
flex: 1 0 0;
margin-right: $size-4;
overflow-y: auto;
user-select: none;
width: 100%;
&.dashboard-projects {
user-select: none;
}
&.no-bg {
background-color: transparent;
}

View file

@ -407,7 +407,7 @@
[:& interface-walkthrough
{:close-walkthrough close-walkthrough}])])
[:div.dashboard-container.no-bg
[:div.dashboard-container.no-bg.dashboard-projects
(for [{:keys [id] :as project} projects]
(let [files (when recent-map
(->> (vals recent-map)