File tree Expand file tree Collapse file tree 3 files changed +30
-3
lines changed
Expand file tree Collapse file tree 3 files changed +30
-3
lines changed Original file line number Diff line number Diff line change 11< div class ="fluid-container ">
22 < app-actions [folder] ="root "> </ app-actions >
3- < div class ="files ">
4- < section class ="group ">
3+ < div class ="not-items " *ngIf ="!root.folders?.length && !root.files?.length ">
4+ < img src ="assets/images/no-files.svg " alt ="no-files-image ">
5+ < span class ="description "> Agrega tu primer archivo o carpeta</ span >
6+ </ div >
7+ < div class ="files " *ngIf ="root.folders.length && root.folders.length ">
8+ < section class ="group " *ngIf ="root.folders.length > 0 ">
59 < span class ="title "> Folders</ span >
610 < div class ="items ">
711 < app-folder *ngFor ="let folder of root.folders " class ="item "
812 [folder] ="folder "
913 > </ app-folder >
1014 </ div >
1115 </ section >
12- < section class ="group ">
16+ < section class ="group " *ngIf =" root.files.length > 0 " >
1317 < span class ="title "> Files</ span >
1418 < div class ="items ">
1519 < app-file *ngFor ="let file of root.files " class ="item "
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ body.modal-open {
6868 display : flex ;
6969 flex-direction : column ;
7070 gap : 1rem ;
71+ min-height : calc (100vh - 75px );
7172}
7273
7374
@@ -355,3 +356,24 @@ input {
355356 min-height : 100vh ;
356357 }
357358}
359+
360+ .not-items {
361+ display : flex ;
362+ flex-direction : column ;
363+ justify-content : center ;
364+ align-items : center ;
365+ gap : 1.5rem ;
366+ flex : 1 ;
367+
368+ & .description {
369+ @include fs-4 ;
370+ @include fw-500 ;
371+ color : var (--fc-secondary );
372+ text-align : center ;
373+ }
374+
375+ & img {
376+ width : 100% ;
377+ max-width : 20rem ;
378+ }
379+ }
You can’t perform that action at this time.
0 commit comments