Fix strange padding on some CIV2 items.

This commit is contained in:
Alex Hart
2023-09-25 10:16:03 -03:00
parent 3bb2131375
commit 7d4ebd9d3b

View File

@@ -90,7 +90,7 @@ class V2FooterPositionDelegate private constructor(
}
val availableWidth = maxWidth - lastLineWidth
if (body.lineCount == 1 && availableWidth > footerWidth) {
if (body.lineCount == 1 && availableWidth > (footerWidth + 8.dp)) {
displayAtEndOfBody()
return true
}