Changed padding
This commit is contained in:
@@ -52,8 +52,8 @@ object HistoryTab : Tab {
|
|||||||
val navigator = LocalNavigator.currentOrThrow.parent!!
|
val navigator = LocalNavigator.currentOrThrow.parent!!
|
||||||
|
|
||||||
LazyColumn(
|
LazyColumn(
|
||||||
contentPadding = PaddingValues(10.dp),
|
contentPadding = PaddingValues(horizontal = 8.dp),
|
||||||
verticalArrangement = Arrangement.spacedBy(8.dp)
|
// verticalArrangement = Arrangement.spacedBy(8.dp)
|
||||||
) {
|
) {
|
||||||
items(5) { index ->
|
items(5) { index ->
|
||||||
HistoryItem(
|
HistoryItem(
|
||||||
@@ -85,7 +85,8 @@ fun HistoryItem(
|
|||||||
onClick = onClick,
|
onClick = onClick,
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.fillMaxWidth()
|
.fillMaxWidth()
|
||||||
.height(90.dp),
|
.height(100.dp)
|
||||||
|
.padding(8.dp),
|
||||||
colors = CardDefaults.cardColors(
|
colors = CardDefaults.cardColors(
|
||||||
containerColor = containerColor,
|
containerColor = containerColor,
|
||||||
contentColor = contentColor
|
contentColor = contentColor
|
||||||
@@ -110,7 +111,6 @@ fun HistoryItem(
|
|||||||
Text(date.toString(), style = MaterialTheme.typography.bodyMedium)
|
Text(date.toString(), style = MaterialTheme.typography.bodyMedium)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user