diff --git a/lib/pages/dynamics/tab/view.dart b/lib/pages/dynamics/tab/view.dart index 58113e28..41bccac2 100644 --- a/lib/pages/dynamics/tab/view.dart +++ b/lib/pages/dynamics/tab/view.dart @@ -157,7 +157,7 @@ class _DynamicsTabPageState extends State maxCrossAxisExtent: Grid.smallCardWidth * 2, //cacheExtent: 0.0, crossAxisSpacing: StyleString.cardSpace / 2, - mainAxisSpacing: StyleString.cardSpace / 2, + // mainAxisSpacing: StyleString.cardSpace / 2, lastChildLayoutTypeBuilder: (index) { if (index == loadingState.response.length - 1) { diff --git a/lib/pages/dynamics/widgets/dynamic_panel.dart b/lib/pages/dynamics/widgets/dynamic_panel.dart index f8e74055..e73cc783 100644 --- a/lib/pages/dynamics/widgets/dynamic_panel.dart +++ b/lib/pages/dynamics/widgets/dynamic_panel.dart @@ -24,25 +24,25 @@ class DynamicPanel extends StatelessWidget { @override Widget build(BuildContext context) { - return Padding( + return Container( padding: source == 'detail' ? const EdgeInsets.only(bottom: 12) : EdgeInsets.zero, - // decoration: BoxDecoration( - // border: Border( - // bottom: BorderSide( - // width: 8, - // color: Theme.of(context).dividerColor.withOpacity(0.05), - // ), - // ), - // ), + decoration: BoxDecoration( + border: Border( + bottom: BorderSide( + width: 8, + color: Theme.of(context).dividerColor.withOpacity(0.05), + ), + ), + ), child: Material( elevation: 0, - clipBehavior: Clip.hardEdge, + // clipBehavior: Clip.hardEdge, color: Colors.transparent, - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.circular(5), - ), + // shape: RoundedRectangleBorder( + // borderRadius: BorderRadius.circular(5), + // ), child: InkWell( onTap: source == 'detail' && [