Make global search results more compact
This commit is contained in:
parent
5d90ba8aa0
commit
3be05fbf9b
@ -20,14 +20,11 @@ fun GlobalSearchCardRow(
|
||||
onLongClick: (Manga) -> Unit,
|
||||
) {
|
||||
LazyRow(
|
||||
contentPadding = PaddingValues(
|
||||
horizontal = MaterialTheme.padding.medium,
|
||||
vertical = MaterialTheme.padding.small,
|
||||
),
|
||||
horizontalArrangement = Arrangement.spacedBy(MaterialTheme.padding.small),
|
||||
contentPadding = PaddingValues(MaterialTheme.padding.small),
|
||||
horizontalArrangement = Arrangement.spacedBy(MaterialTheme.padding.tiny),
|
||||
) {
|
||||
items(titles) { title ->
|
||||
val title by getManga(title)
|
||||
items(titles) {
|
||||
val title by getManga(it)
|
||||
GlobalSearchCard(
|
||||
title = title.title,
|
||||
cover = title.asMangaCover(),
|
||||
|
@ -18,7 +18,7 @@ fun GlobalSearchCard(
|
||||
onClick: () -> Unit,
|
||||
onLongClick: () -> Unit,
|
||||
) {
|
||||
Box(modifier = Modifier.width(128.dp)) {
|
||||
Box(modifier = Modifier.width(96.dp)) {
|
||||
MangaComfortableGridItem(
|
||||
title = title,
|
||||
coverData = cover,
|
||||
|
Loading…
Reference in New Issue
Block a user