0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-14 16:51:18 -05:00

Merge pull request #4273 from penpot/ladybenko-7173-fix-dashboard-layouts

🐛 Fix projects & teams dashboard pages
This commit is contained in:
Eva Marco 2024-03-15 09:15:45 +01:00 committed by GitHub
commit d8a9e1a2cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 32 additions and 26 deletions

View file

@ -21,7 +21,7 @@
.dashboard-content {
display: grid;
grid-template-rows: $s-64 auto auto 1fr;
grid-template-rows: $s-64 1fr;
position: relative;
grid-row: 1 / span 2;
padding: $s-16 $s-16 0 0;

View file

@ -417,7 +417,8 @@
(when (seq projects)
[:*
[:& header]
[:div {:class (stl/css :projects-container)}
[:*
(when team-hero?
[:& team-hero {:team team :close-fn close-banner}])
@ -444,4 +445,4 @@
:team team
:files files
:first? (= project (first projects))
:key id}]))]])))
:key id}]))]]]])))

View file

@ -44,6 +44,11 @@
--actions-opacity: 1;
}
.projects-container {
display: grid;
grid-auto-rows: min-content;
}
.project {
display: flex;
flex-direction: row;