mirror of
https://github.com/penpot/penpot.git
synced 2025-06-10 17:21:39 +02:00
🐛 Fix several issues in dashboard screens scroll
This commit is contained in:
parent
752038039c
commit
9d416cae4c
10 changed files with 285 additions and 288 deletions
|
@ -141,7 +141,6 @@
|
|||
(dom/prevent-default %)
|
||||
(st/emit! (dsh/create-file id)))]
|
||||
[:section.dashboard-grid
|
||||
[:div.dashboard-grid-content
|
||||
(if (> (count files) 0)
|
||||
[:div.dashboard-grid-row
|
||||
(when (not hide-new?)
|
||||
|
@ -152,4 +151,4 @@
|
|||
[:div.grid-files-empty
|
||||
[:div.grid-files-desc (t locale "dashboard.grid.empty-files")]
|
||||
[:div.grid-files-link
|
||||
[:a.btn-secondary.btn-small {:on-click on-click} (t locale "ds.new-file")]]])]]))
|
||||
[:a.btn-secondary.btn-small {:on-click on-click} (t locale "ds.new-file")]]])]))
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
[:section.search-page
|
||||
[:section.dashboard-grid
|
||||
[:div.dashboard-grid-content
|
||||
(cond
|
||||
(empty? search-term)
|
||||
[:div.grid-files-empty
|
||||
|
@ -48,5 +47,5 @@
|
|||
[:div.grid-files-desc (t locale "dashboard.search.no-matches-for" search-term)]]
|
||||
|
||||
:else
|
||||
[:& grid { :files search-result :hide-new? true}])]]]))
|
||||
[:& grid { :files search-result :hide-new? true}])]]))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue