💄 Adjust post detail screen

This commit is contained in:
2026-01-02 19:57:16 +08:00
parent e2efdc4064
commit 1d99ac6441
4 changed files with 21 additions and 4 deletions

View File

@@ -466,11 +466,12 @@ class PostDetailScreen extends HookConsumerWidget {
SliverToBoxAdapter(
child: Center(
child: ConstrainedBox(
constraints: BoxConstraints(maxWidth: 600),
constraints: BoxConstraints(maxWidth: 800),
child: PostItem(
item: post!,
isFullPost: true,
isEmbedReply: false,
textScale: post.type == 1 ? 1.2 : 1.1,
onUpdate: (newItem) {
// Update the local state with the new post data
ref