mirror of
https://github.com/LiveFastEatTrashRaccoon/RaccoonForLemmy.git
synced 2025-02-09 15:58:57 +01:00
enhancement: post card layout
This commit is contained in:
parent
54b20e31fd
commit
cd5e16a72d
@ -205,7 +205,7 @@ private fun ExtendedPost(
|
|||||||
)
|
)
|
||||||
PostCardTitle(
|
PostCardTitle(
|
||||||
modifier = Modifier.padding(
|
modifier = Modifier.padding(
|
||||||
vertical = Spacing.s,
|
vertical = Spacing.xs,
|
||||||
horizontal = Spacing.xs,
|
horizontal = Spacing.xs,
|
||||||
),
|
),
|
||||||
text = post.title
|
text = post.title
|
||||||
@ -226,17 +226,13 @@ private fun ExtendedPost(
|
|||||||
it
|
it
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.padding(
|
.padding(horizontal = Spacing.xs),
|
||||||
start = Spacing.xs,
|
|
||||||
end = Spacing.xs,
|
|
||||||
bottom = Spacing.xs,
|
|
||||||
),
|
|
||||||
text = post.text,
|
text = post.text,
|
||||||
)
|
)
|
||||||
if (withOverflowBlurred) {
|
if (withOverflowBlurred) {
|
||||||
Box(
|
Box(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.height(Spacing.l)
|
.height(Spacing.xxl)
|
||||||
.fillMaxWidth()
|
.fillMaxWidth()
|
||||||
.align(Alignment.BottomCenter).background(
|
.align(Alignment.BottomCenter).background(
|
||||||
brush = Brush.verticalGradient(
|
brush = Brush.verticalGradient(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user