Fixes naming cropping the menu icon

This commit is contained in:
Vitor Pamplona
2025-11-06 16:18:08 -05:00
parent 2ac5a57efe
commit d17f39e85b
@@ -81,7 +81,7 @@ private fun PeopleListItemPreview() {
val samplePeopleList1 = val samplePeopleList1 =
PeopleList( PeopleList(
identifierTag = "00001-2222", identifierTag = "00001-2222",
title = "Sample List Title", title = "Sample List Title, Very long title, very very very long",
description = "Sample List Description", description = "Sample List Description",
emptySet(), emptySet(),
emptySet(), emptySet(),
@@ -173,7 +173,12 @@ fun PeopleListItem(
modifier = Modifier.fillMaxWidth(), modifier = Modifier.fillMaxWidth(),
horizontalArrangement = Arrangement.SpaceBetween, horizontalArrangement = Arrangement.SpaceBetween,
) { ) {
Text(peopleList.title, maxLines = 1, overflow = TextOverflow.Ellipsis) Text(
modifier = Modifier.weight(1f),
text = peopleList.title,
maxLines = 1,
overflow = TextOverflow.Ellipsis,
)
Column( Column(
modifier = NoSoTinyBorders, modifier = NoSoTinyBorders,