voice: keep pill height identical between rest and recording - constrain recording visualizer row to the text field's 22dp content height so the separator no longer shifts

This commit is contained in:
callebtc 2026-07-29 12:23:50 +02:00
parent 56f52218ed
commit 8eddcb15ca

View File

@ -494,6 +494,10 @@ fun MessageInput(
Row(
modifier = Modifier
.fillMaxWidth()
// Same content height as the single-line text field, so the pill
// (and the separator above it) does not change size when the
// recording visualizer replaces the field.
.height(22.dp)
.alpha(waveformAlpha),
verticalAlignment = Alignment.CenterVertically
) {