Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-22 11:16:49 +08:00
parent 17568c8c27
commit bc3ce66322
40 changed files with 135 additions and 146 deletions

View File

@@ -189,7 +189,6 @@ class _MediaListPanelState
vertical: 5,
),
child: Row(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
AspectRatio(

View File

@@ -102,18 +102,15 @@ class _PostPanelState extends CommonCollapseSlidePageState<PostPanel> {
SingleChildScrollView(
controller: ScrollController(),
physics: const AlwaysScrollableScrollPhysics(),
padding: EdgeInsets.only(
bottom: 88 + MediaQuery.paddingOf(context).bottom),
child: Column(
children: [
...List.generate(
list!.length,
(index) {
return _buildItem(theme, index, list![index]);
},
),
SizedBox(
height: 88 + MediaQuery.paddingOf(context).bottom,
),
],
children: List.generate(
list!.length,
(index) {
return _buildItem(theme, index, list![index]);
},
),
),
),
Positioned(

View File

@@ -53,6 +53,9 @@ class _RelatedVideoPanelState extends State<RelatedVideoPanel>
return VideoCardH(
videoItem: response[index],
showPubdate: true,
onRemove: () => _relatedController.loadingState
..value.data!.removeAt(index)
..refresh(),
);
},
childCount: response!.length,

View File

@@ -437,7 +437,7 @@ class ReplyItemGrpc extends StatelessWidget {
final childReply = replies[index];
EdgeInsets padding;
if (length == 1) {
padding = const EdgeInsets.all(8);
padding = const EdgeInsets.fromLTRB(8, 5, 8, 5);
} else {
if (index == 0) {
padding = const EdgeInsets.fromLTRB(8, 8, 8, 4);
@@ -542,8 +542,8 @@ class ReplyItemGrpc extends StatelessWidget {
child: Container(
width: double.infinity,
padding: length == 1
? const EdgeInsets.all(8)
: const EdgeInsets.fromLTRB(8, 4, 8, 8),
? const EdgeInsets.fromLTRB(8, 6, 8, 6)
: const EdgeInsets.fromLTRB(8, 5, 8, 8),
child: Text.rich(
TextSpan(
style: TextStyle(