mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 08:50:57 -05:00
🐛 Fix some visual issues in dashboard
This commit is contained in:
parent
fc29e8fb6b
commit
4d3142e826
4 changed files with 5 additions and 16 deletions
|
@ -444,17 +444,6 @@
|
||||||
},
|
},
|
||||||
"used-in" : [ "src/app/main/ui/dashboard/sidebar.cljs" ]
|
"used-in" : [ "src/app/main/ui/dashboard/sidebar.cljs" ]
|
||||||
},
|
},
|
||||||
"dashboard.draft-title" : {
|
|
||||||
"translations" : {
|
|
||||||
"ca" : "Esborrany",
|
|
||||||
"en" : "Draft",
|
|
||||||
"es" : "Borrador",
|
|
||||||
"fr" : "Brouillon",
|
|
||||||
"ru" : "Черновик",
|
|
||||||
"zh_cn" : "草稿"
|
|
||||||
},
|
|
||||||
"used-in" : [ "src/app/main/ui/dashboard/files.cljs" ]
|
|
||||||
},
|
|
||||||
"dashboard.duplicate" : {
|
"dashboard.duplicate" : {
|
||||||
"translations" : {
|
"translations" : {
|
||||||
"en" : "Duplicate",
|
"en" : "Duplicate",
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
.grid-item {
|
.grid-item {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border: 1px solid lighten($color-gray-20, 13%);
|
border: 2px solid lighten($color-gray-20, 13%);
|
||||||
border-radius: $br-small;
|
border-radius: $br-small;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -177,8 +177,6 @@
|
||||||
background-color: $color-white;
|
background-color: $color-white;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
border: 2px solid $color-primary;
|
|
||||||
|
|
||||||
.project-th-actions {
|
.project-th-actions {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
[:header.dashboard-header
|
[:header.dashboard-header
|
||||||
(if (:is-default project)
|
(if (:is-default project)
|
||||||
[:div.dashboard-title
|
[:div.dashboard-title
|
||||||
[:h1 (t locale "dashboard.draft-title")]]
|
[:h1 (t locale "labels.drafts")]]
|
||||||
|
|
||||||
(if (:edition @local)
|
(if (:edition @local)
|
||||||
[:& inline-edition {:content (:name project)
|
[:& inline-edition {:content (:name project)
|
||||||
|
|
|
@ -129,7 +129,9 @@
|
||||||
:on-end on-edit}]
|
:on-end on-edit}]
|
||||||
[:h2 {:on-click on-nav
|
[:h2 {:on-click on-nav
|
||||||
:on-context-menu on-menu-click}
|
:on-context-menu on-menu-click}
|
||||||
(:name project)])
|
(if (:is-default project)
|
||||||
|
(tr "labels.drafts")
|
||||||
|
(:name project))])
|
||||||
[:& project-menu {:project project
|
[:& project-menu {:project project
|
||||||
:show? (:menu-open @local)
|
:show? (:menu-open @local)
|
||||||
:left (:x (:menu-pos @local))
|
:left (:x (:menu-pos @local))
|
||||||
|
|
Loading…
Reference in a new issue