Fix strange padding on some CIV2 items.

This commit is contained in:
Alex Hart committed 2023-09-25 10:16:03 -03:00
1 parent 3bb2131375
commit 7d4ebd9d3b
1 file changed
+1 -1
@@ -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
}