Skip to content

Commit

Permalink
Fix sync date misalignment for small screen sizes (#3545)
Browse files Browse the repository at this point in the history
  • Loading branch information
LZRS authored Oct 14, 2024
1 parent 156451c commit 5b41f1d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,8 @@ private fun SideMenuItem(
verticalAlignment = Alignment.CenterVertically,
) {
Row(
modifier = modifier.padding(end = 16.dp).testTag(SIDE_MENU_ITEM_INNER_ROW_TEST_TAG),
modifier =
modifier.padding(end = 16.dp).testTag(SIDE_MENU_ITEM_INNER_ROW_TEST_TAG).weight(1f),
verticalAlignment = Alignment.CenterVertically,
) {
if (startIcon != null) {
Expand Down Expand Up @@ -560,6 +561,7 @@ private fun SideMenuItemText(
text = title,
color = textColor,
fontSize = textSize.sp,
overflow = TextOverflow.Ellipsis,
fontWeight = if (boldText) FontWeight.Bold else FontWeight.Normal,
modifier = Modifier.testTag(SIDE_MENU_ITEM_TEXT_TEST_TAG),
)
Expand Down

0 comments on commit 5b41f1d

Please sign in to comment.