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