- Make book card options button smaller
- Filter out null metadata
This commit is contained in:
+4
-1
@@ -54,7 +54,10 @@ public class BookMetadataService {
|
||||
return List.of();
|
||||
}))
|
||||
.toList()
|
||||
.stream().map(CompletableFuture::join).toList();
|
||||
.stream()
|
||||
.map(CompletableFuture::join)
|
||||
.filter(Objects::nonNull)
|
||||
.toList();
|
||||
|
||||
List<FetchedBookMetadata> interleavedMetadata = new ArrayList<>();
|
||||
int maxSize = allMetadata.stream().mapToInt(List::size).max().orElse(0);
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
<h4 class="book-title">{{ book.metadata?.title }}</h4>
|
||||
<p-menu #menu [model]="items" [popup]="true" appendTo="body"></p-menu>
|
||||
<p-button
|
||||
size="small"
|
||||
[text]="true"
|
||||
(click)="menu.toggle($event)"
|
||||
icon="pi pi-ellipsis-v">
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
.book-title {
|
||||
flex-grow: 1;
|
||||
font-size: 0.85rem;
|
||||
font-size: 0.9rem;
|
||||
color: var(--text-color);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
|
||||
Reference in New Issue
Block a user