fix messages overlapping mode pills — increase bottom padding to 220dp

The two-row ChatInput redesign made the bottom dock ~210dp tall but
contentPadding was still 152dp, causing the last message to scroll
behind the mode pills.
This commit is contained in:
Bruno Deanoz 2026-06-23 00:13:21 +02:00
parent 3c6dab33a0
commit edd8ccaa05

View file

@ -635,7 +635,7 @@ fun ChatScreen(
.then(if (isTablet) Modifier.widthIn(max = 720.dp) else Modifier), .then(if (isTablet) Modifier.widthIn(max = 720.dp) else Modifier),
contentPadding = PaddingValues( contentPadding = PaddingValues(
top = 76.dp, // Leaves breathing room for the floating top menu button top = 76.dp, // Leaves breathing room for the floating top menu button
bottom = 152.dp, // Leaves luxurious room for the floating ModePills + ChatInput + bottom margins bottom = 220.dp, // Clears the floating ModePills + two-row ChatInput + bottom margins
start = 16.dp, start = 16.dp,
end = 16.dp end = 16.dp
), ),