diff --git a/lib/pages/video/detail/introduction/widgets/page.dart b/lib/pages/video/detail/introduction/widgets/page.dart index 2b1f8a37..59c95329 100644 --- a/lib/pages/video/detail/introduction/widgets/page.dart +++ b/lib/pages/video/detail/introduction/widgets/page.dart @@ -122,7 +122,9 @@ class _PagesPanelState extends State { bool isCurrentIndex = currentIndex == i; return Container( width: 150, - margin: const EdgeInsets.only(right: 10), + margin: EdgeInsets.only( + right: i != widget.pages.length - 1 ? 10 : 0, + ), child: Material( color: Theme.of(context).colorScheme.onInverseSurface, borderRadius: BorderRadius.circular(6),