From 5e0d924b3cea171fb78f5e0247377682c863cde1 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sat, 10 Feb 2024 15:45:00 -0500 Subject: [PATCH] Fixing comment bottom margin. Fixes #1365 (#1367) --- .../java/com/jerboa/ui/components/comment/CommentNode.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/jerboa/ui/components/comment/CommentNode.kt b/app/src/main/java/com/jerboa/ui/components/comment/CommentNode.kt index 81f03a0c0..c1dbf2c64 100644 --- a/app/src/main/java/com/jerboa/ui/components/comment/CommentNode.kt +++ b/app/src/main/java/com/jerboa/ui/components/comment/CommentNode.kt @@ -305,7 +305,8 @@ fun LazyListScope.commentNodeItem( ), ) { Column( - modifier = Modifier.border(start = border), + modifier = Modifier.border(start = border) + .padding(bottom = LARGE_PADDING), ) { HorizontalDivider(modifier = Modifier.padding(start = if (node.depth == 0) 0.dp else border.strokeWidth)) Column( @@ -818,7 +819,7 @@ fun CommentFooterLine( onClick = onClick, onLongClick = onLongClick, ) - .padding(top = LARGE_PADDING, bottom = SMALL_PADDING), + .padding(top = MEDIUM_PADDING), ) { Row( horizontalArrangement = Arrangement.spacedBy(XXL_PADDING),