mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 07:41:43 -05:00
🐛 Fix projects & teams dashboard pages
This commit is contained in:
parent
75d0648065
commit
b5fe07d5ee
3 changed files with 32 additions and 26 deletions
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
.dashboard-content {
|
.dashboard-content {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-rows: $s-64 auto auto 1fr;
|
grid-template-rows: $s-64 1fr;
|
||||||
position: relative;
|
position: relative;
|
||||||
grid-row: 1 / span 2;
|
grid-row: 1 / span 2;
|
||||||
padding: $s-16 $s-16 0 0;
|
padding: $s-16 $s-16 0 0;
|
||||||
|
|
|
@ -417,7 +417,8 @@
|
||||||
(when (seq projects)
|
(when (seq projects)
|
||||||
[:*
|
[:*
|
||||||
[:& header]
|
[:& header]
|
||||||
|
[:div {:class (stl/css :projects-container)}
|
||||||
|
[:*
|
||||||
(when team-hero?
|
(when team-hero?
|
||||||
[:& team-hero {:team team :close-fn close-banner}])
|
[:& team-hero {:team team :close-fn close-banner}])
|
||||||
|
|
||||||
|
@ -444,4 +445,4 @@
|
||||||
:team team
|
:team team
|
||||||
:files files
|
:files files
|
||||||
:first? (= project (first projects))
|
:first? (= project (first projects))
|
||||||
:key id}]))]])))
|
:key id}]))]]]])))
|
||||||
|
|
|
@ -44,6 +44,11 @@
|
||||||
--actions-opacity: 1;
|
--actions-opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.projects-container {
|
||||||
|
display: grid;
|
||||||
|
grid-auto-rows: min-content;
|
||||||
|
}
|
||||||
|
|
||||||
.project {
|
.project {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
Loading…
Add table
Reference in a new issue