Skip to content

Commit

Permalink
fix alignment for data icon and data value
Browse files Browse the repository at this point in the history
  • Loading branch information
hescul committed Apr 29, 2022
1 parent 56275af commit f4d7d12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ private fun PatientDataSlot(
style = MaterialTheme.typography.h6,
textAlign = TextAlign.Center,
color = textColor,
modifier = Modifier.padding(top = 3.dp) // make data text aligned with icon
)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ fun PatientProfileData(
Spacer(modifier = Modifier.padding(vertical = headerPadding))
Row(
modifier = Modifier.fillMaxWidth(),
horizontalArrangement = Arrangement.Center
horizontalArrangement = Arrangement.Center,
verticalAlignment = Alignment.CenterVertically
) {
AnimatedContent(
targetState = data.value,
Expand Down

0 comments on commit f4d7d12

Please sign in to comment.