Fix track search item not filling width if content is too short
This commit is contained in:
parent
3ad7add3b5
commit
e5f83d0c6e
1 changed files with 1 additions and 0 deletions
|
@ -223,6 +223,7 @@ private fun SearchResultItem(
|
||||||
val borderColor = if (selected) MaterialTheme.colorScheme.outline else Color.Transparent
|
val borderColor = if (selected) MaterialTheme.colorScheme.outline else Color.Transparent
|
||||||
Box(
|
Box(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
.fillMaxWidth()
|
||||||
.padding(horizontal = 12.dp)
|
.padding(horizontal = 12.dp)
|
||||||
.clip(shape)
|
.clip(shape)
|
||||||
.background(MaterialTheme.colorScheme.surface)
|
.background(MaterialTheme.colorScheme.surface)
|
||||||
|
|
Reference in a new issue