Fixed date being moved if the message is too long
This commit is contained in:
parent
b980784b1f
commit
dac6d597a2
@ -747,13 +747,14 @@ fun CommitMessage(
|
|||||||
}
|
}
|
||||||
Text(
|
Text(
|
||||||
text = commit.shortMessage,
|
text = commit.shortMessage,
|
||||||
modifier = Modifier.padding(start = 8.dp),
|
modifier = Modifier
|
||||||
|
.padding(start = 8.dp)
|
||||||
|
.weight(1f),
|
||||||
fontSize = 14.sp,
|
fontSize = 14.sp,
|
||||||
color = if (matchesSearchFilter == false) secondaryTextColor else textColor,
|
color = if (matchesSearchFilter == false) secondaryTextColor else textColor,
|
||||||
maxLines = 1,
|
maxLines = 1,
|
||||||
overflow = TextOverflow.Ellipsis,
|
overflow = TextOverflow.Ellipsis,
|
||||||
)
|
)
|
||||||
Spacer(modifier = Modifier.weight(2f))
|
|
||||||
|
|
||||||
Text(
|
Text(
|
||||||
text = commit.committerIdent.`when`.toSmartSystemString(),
|
text = commit.committerIdent.`when`.toSmartSystemString(),
|
||||||
|
Loading…
Reference in New Issue
Block a user