fix(app): float the chat composer as glass, cap the reading width, tidy chat chrome

This commit is contained in:
2026-10-31 03:04:23 +00:00
parent ea0f22dfc7
commit 481b1f6fff
17 changed files with 805 additions and 368 deletions
@@ -0,0 +1,10 @@
import 'dart:math' as math;
/// The widest the conversation's reading column grows: transcript rows and
/// the floating composer share it, centred, so a wide window keeps a
/// comfortable line length instead of stretching messages edge to edge.
const double kChatReadingWidth = 760;
/// The space on each side of the centred reading column in [width].
double chatReadingInset(double width) =>
math.max(0, (width - kChatReadingWidth) / 2);