Fixed diff header overlapping the buttons
This commit is contained in:
parent
f53c306099
commit
77df8671e6
@ -861,8 +861,12 @@ private fun DiffHeader(
|
|||||||
val fileName = diffEntry.fileName
|
val fileName = diffEntry.fileName
|
||||||
val dirPath: String = diffEntry.parentDirectoryPath
|
val dirPath: String = diffEntry.parentDirectoryPath
|
||||||
|
|
||||||
|
Box(
|
||||||
|
modifier = Modifier
|
||||||
|
.weight(1f, true)
|
||||||
|
) {
|
||||||
SelectionContainer {
|
SelectionContainer {
|
||||||
Row {
|
Row() {
|
||||||
if (dirPath.isNotEmpty()) {
|
if (dirPath.isNotEmpty()) {
|
||||||
Text(
|
Text(
|
||||||
text = dirPath.removeSuffix("/"),
|
text = dirPath.removeSuffix("/"),
|
||||||
@ -895,9 +899,7 @@ private fun DiffHeader(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Spacer(Modifier.weight(1f, true))
|
|
||||||
|
|
||||||
|
|
||||||
Row(
|
Row(
|
||||||
verticalAlignment = Alignment.CenterVertically,
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
|
Loading…
Reference in New Issue
Block a user