🐛 Fix some post related bugs

This commit is contained in:
2025-10-06 12:51:28 +08:00
parent 277e9ae3d1
commit 3cbc1a59a7
5 changed files with 32 additions and 17 deletions

View File

@@ -166,7 +166,10 @@ class PostComposeCard extends HookConsumerWidget {
);
}
final maxHeight = math.min(640.0, MediaQuery.of(context).size.height * 0.8);
final maxHeight = math.min(
640.0,
MediaQuery.of(context).size.height * (isInDialog ? 0.8 : 0.72),
);
return Card(
margin: EdgeInsets.zero,