♻️ Refactored web feed, poll

This commit is contained in:
2025-10-12 12:19:50 +08:00
parent bbb07d574a
commit 27157e7cc1
9 changed files with 415 additions and 476 deletions

View File

@@ -106,10 +106,13 @@ class CreatorPollListScreen extends HookConsumerWidget {
return endItemView;
}
final pollWithStats = data.items[index];
return _CreatorPollItem(
pollWithStats: pollWithStats,
pubName: pubName,
);
return ConstrainedBox(
constraints: BoxConstraints(maxWidth: 640),
child: _CreatorPollItem(
pollWithStats: pollWithStats,
pubName: pubName,
),
).center();
},
),
),