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