Add divider between scrolls
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
.dashboard-scroller-container {
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.dashboard-scroller-title {
|
||||
|
||||
@@ -20,16 +20,21 @@
|
||||
[title]="'Last Read Books'">
|
||||
</app-dashboard-scroller>
|
||||
|
||||
<p-divider></p-divider>
|
||||
|
||||
<app-dashboard-scroller
|
||||
[books]="latestAddedBooks$ | async"
|
||||
[title]="'Latest Added Books'">
|
||||
</app-dashboard-scroller>
|
||||
|
||||
<p-divider></p-divider>
|
||||
|
||||
<app-dashboard-scroller
|
||||
[books]="randomBooks$ | async"
|
||||
[title]="'Explore Random Reads'">
|
||||
</app-dashboard-scroller>
|
||||
|
||||
<p-divider></p-divider>
|
||||
|
||||
</ng-template>
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ import {BookService} from '../../../book/service/book.service';
|
||||
import {BookState} from '../../../book/model/state/book-state.model';
|
||||
import {Book} from '../../../book/model/book.model';
|
||||
import {LibraryState} from '../../../book/model/state/library-state.model';
|
||||
import {Divider} from 'primeng/divider';
|
||||
|
||||
@Component({
|
||||
selector: 'app-main-dashboard',
|
||||
@@ -20,7 +21,8 @@ import {LibraryState} from '../../../book/model/state/library-state.model';
|
||||
Button,
|
||||
NgIf,
|
||||
DashboardScrollerComponent,
|
||||
AsyncPipe
|
||||
AsyncPipe,
|
||||
Divider
|
||||
],
|
||||
providers: [DialogService],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user