mirror of
https://github.com/penpot/penpot.git
synced 2025-02-13 18:48:37 -05:00
Merge pull request #2298 from penpot/Waishnav-button-gap-fix
✨ UI improvements in Project section
This commit is contained in:
commit
3aac620276
3 changed files with 7 additions and 5 deletions
|
@ -39,6 +39,7 @@
|
||||||
### :heart: Community contributions by (Thank you!)
|
### :heart: Community contributions by (Thank you!)
|
||||||
|
|
||||||
- To @andrewzhurov for many code contributions on this release.
|
- 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
|
## 1.15.4-beta
|
||||||
|
|
||||||
|
|
|
@ -191,9 +191,10 @@
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: $size-4;
|
margin-top: $size-4;
|
||||||
padding: $size-1 $size-1 $size-1 $size-2;
|
padding: $size-2 $size-2 $size-2 $size-4;
|
||||||
width: 99%;
|
width: 99%;
|
||||||
height: 40px;
|
max-height: 40px;
|
||||||
|
gap: $size-2;
|
||||||
.project-name-wrapper {
|
.project-name-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -227,7 +228,7 @@
|
||||||
|
|
||||||
.btn-secondary {
|
.btn-secondary {
|
||||||
border: none;
|
border: none;
|
||||||
height: 32px;
|
padding: $size-2;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
|
@ -236,7 +237,7 @@
|
||||||
line-height: 1rem;
|
line-height: 1rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: $color-black;
|
color: $color-black;
|
||||||
margin-right: $size-4;
|
margin-right: $size-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit-wrapper {
|
.edit-wrapper {
|
||||||
|
|
|
@ -244,7 +244,7 @@
|
||||||
:on-menu-close on-menu-close
|
:on-menu-close on-menu-close
|
||||||
:on-import on-import}]
|
: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)
|
(when (> file-count 0)
|
||||||
(let [time (-> (:modified-at project)
|
(let [time (-> (:modified-at project)
|
||||||
(dt/timeago {:locale locale}))]
|
(dt/timeago {:locale locale}))]
|
||||||
|
|
Loading…
Add table
Reference in a new issue