Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

Added constrained box

Harinandan907b10b78375
diff --git a/frontend/app_flowy/lib/workspace/presentation/settings/settings_dialog.dart b/frontend/app_flowy/lib/workspace/presentation/settings/settings_dialog.dart
index a9f88fc4c9..e4e73204c7 100644
--- a/frontend/app_flowy/lib/workspace/presentation/settings/settings_dialog.dart
+++ b/frontend/app_flowy/lib/workspace/presentation/settings/settings_dialog.dart
@@ -24,9 +24,10 @@ class _SettingsDialogState extends State<SettingsDialog> {
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10),
),
- title: SizedBox(
- height: 600,
- width: 800,
+ title: ConstrainedBox(
+ constraints: const BoxConstraints(
+ maxHeight: 600,
+ ),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [