fix comment

This commit is contained in:
2024-11-22 10:24:31 +08:00
parent f4b9cb5abe
commit f3aa0e9f27
2 changed files with 12 additions and 8 deletions

View File

@@ -1863,13 +1863,17 @@ class _CommentsPartState extends State<_CommentsPart> {
children: [
SizedBox(
height: 184,
child: ListView.builder(
controller: scrollController,
scrollDirection: Axis.horizontal,
itemCount: comments.length,
itemBuilder: (context, index) {
return _CommentWidget(comment: comments[index]);
},
child: MediaQuery.removePadding(
removeTop: true,
context: context,
child: ListView.builder(
controller: scrollController,
scrollDirection: Axis.horizontal,
itemCount: comments.length,
itemBuilder: (context, index) {
return _CommentWidget(comment: comments[index]);
},
),
),
),
const SizedBox(height: 8),