Give search results the same width as other lists (#80)

The results list added its own 16dp horizontal inset on top of the one
GroupedRow already applies, so search rows sat 32dp in from each edge while
agenda and settings rows sit at 16dp.
This commit is contained in:
2026-08-08 15:54:06 +02:00
parent bfe493e5c9
commit 11adfd66bc

View File

@@ -395,7 +395,9 @@ private fun SearchResults(
val events = results.events val events = results.events
LazyColumn( LazyColumn(
modifier = Modifier.fillMaxSize(), modifier = Modifier.fillMaxSize(),
contentPadding = PaddingValues(start = 16.dp, end = 16.dp, top = 8.dp, bottom = 96.dp), // No horizontal inset here: GroupedRow already insets itself, and adding
// another 16dp made the results narrower than every other list.
contentPadding = PaddingValues(top = 8.dp, bottom = 96.dp),
) { ) {
itemsIndexed( itemsIndexed(
items = events, items = events,