mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 08:08:19 +08:00
@@ -189,7 +189,6 @@ class _MediaListPanelState
|
||||
vertical: 5,
|
||||
),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
AspectRatio(
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user