fix(app): cap the list width on very wide monitors

This commit is contained in:
2026-10-26 18:51:44 +00:00
parent 56f18acf78
commit 48fdeaff97
4 changed files with 41 additions and 4 deletions
@@ -3,6 +3,8 @@ import 'dart:async';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import '../../../../ui/layout/content_width.dart';
import '../../../../core/api_gateway.dart';
import '../../../../shell/shell_bar.dart';
import '../../data/chat_repository.dart';
@@ -201,7 +203,8 @@ class _ChatSessionsScreenState extends State<ChatSessionsScreen> {
Expanded(
child: Stack(
children: [
ChatSessionsBody(
ContentWidth(
child: ChatSessionsBody(
sessions: _controller.sessions,
activeSessionId: widget.activeSessionId,
query: _search.text,
@@ -224,6 +227,7 @@ class _ChatSessionsScreenState extends State<ChatSessionsScreen> {
isUnseen: _controller.isUnseen,
errorFor: _controller.errorFor,
onDismissError: _controller.dismissError,
),
),
// The web's hide report is a fixed overlay: replacing or
// growing it must never move the list or overflow the screen.