From 00222499cc51806074d273292f2e7ef2e528b322 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Tue, 20 Sep 2022 08:09:32 +0200 Subject: [PATCH 1/3] :bug: Fix files translation --- frontend/src/app/main/ui/dashboard/projects.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/dashboard/projects.cljs b/frontend/src/app/main/ui/dashboard/projects.cljs index f2601e543..b51e36ce4 100644 --- a/frontend/src/app/main/ui/dashboard/projects.cljs +++ b/frontend/src/app/main/ui/dashboard/projects.cljs @@ -244,7 +244,7 @@ :on-menu-close on-menu-close :on-import on-import}] - [:span.info (str file-count " files")] + [:span.info (str (tr "labels.num-of-files" (i18n/c file-count)))] (when (> file-count 0) (let [time (-> (:modified-at project) (dt/timeago {:locale locale}))] From eeb8d284ccd1d48bf3cce224eaaf9ae25b796479 Mon Sep 17 00:00:00 2001 From: Waishnav Date: Sun, 18 Sep 2022 23:57:57 +0530 Subject: [PATCH 2/3] :sparkles: UI improvements in Project section div --- frontend/resources/styles/main/partials/dashboard.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/resources/styles/main/partials/dashboard.scss b/frontend/resources/styles/main/partials/dashboard.scss index a3b601646..6005937e7 100644 --- a/frontend/resources/styles/main/partials/dashboard.scss +++ b/frontend/resources/styles/main/partials/dashboard.scss @@ -191,9 +191,10 @@ justify-content: space-between; align-items: center; margin-top: $size-4; - padding: $size-1 $size-1 $size-1 $size-2; + padding: $size-2 $size-2 $size-2 $size-4; width: 99%; - height: 40px; + max-height: 40px; + gap: $size-2; .project-name-wrapper { display: flex; align-items: center; @@ -227,7 +228,7 @@ .btn-secondary { border: none; - height: 32px; + padding: $size-2; } h2 { @@ -236,7 +237,7 @@ line-height: 1rem; font-weight: 600; color: $color-black; - margin-right: $size-4; + margin-right: $size-1; } .edit-wrapper { From b6b800a8e2c2737e8d4d4c8073ff09851fb6edef Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Tue, 20 Sep 2022 08:22:03 +0200 Subject: [PATCH 3/3] :paperclip: Update CHANGES.md file --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index c692d133e..857808655 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -38,6 +38,7 @@ ### :heart: Community contributions by (Thank you!) - To @andrewzhurov for many code contributions on this release. +- UI improvements in Project section (by @Waishnav) [#2285](https://github.com/penpot/penpot/pull/2285) ## 1.15.4-beta