mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 00:40:30 -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" ]
|
||||
},
|
||||
"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" : {
|
||||
"translations" : {
|
||||
"en" : "Duplicate",
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
.grid-item {
|
||||
align-items: center;
|
||||
border: 1px solid lighten($color-gray-20, 13%);
|
||||
border: 2px solid lighten($color-gray-20, 13%);
|
||||
border-radius: $br-small;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
|
@ -177,8 +177,6 @@
|
|||
background-color: $color-white;
|
||||
|
||||
&:hover {
|
||||
border: 2px solid $color-primary;
|
||||
|
||||
.project-th-actions {
|
||||
opacity: 1;
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
[:header.dashboard-header
|
||||
(if (:is-default project)
|
||||
[:div.dashboard-title
|
||||
[:h1 (t locale "dashboard.draft-title")]]
|
||||
[:h1 (t locale "labels.drafts")]]
|
||||
|
||||
(if (:edition @local)
|
||||
[:& inline-edition {:content (:name project)
|
||||
|
|
|
@ -129,7 +129,9 @@
|
|||
:on-end on-edit}]
|
||||
[:h2 {:on-click on-nav
|
||||
:on-context-menu on-menu-click}
|
||||
(:name project)])
|
||||
(if (:is-default project)
|
||||
(tr "labels.drafts")
|
||||
(:name project))])
|
||||
[:& project-menu {:project project
|
||||
:show? (:menu-open @local)
|
||||
:left (:x (:menu-pos @local))
|
||||
|
|
Loading…
Reference in a new issue