diff --git a/app/lib/views/schedule/schedule_view.dart b/app/lib/views/schedule/schedule_view.dart index 2e85b9c..9b68a70 100644 --- a/app/lib/views/schedule/schedule_view.dart +++ b/app/lib/views/schedule/schedule_view.dart @@ -226,8 +226,10 @@ class _ScheduleViewState extends ConsumerState final dayIndex = selectedDate.day - 1; const itemWidth = 52.0; // 44 + 8 (gap) + const horizontalPadding = 8.0; // ListView padding final targetOffset = - (dayIndex * itemWidth) - + (dayIndex * itemWidth) + + horizontalPadding - (MediaQuery.of(context).size.width / 2) + (itemWidth / 2); _dateScrollController.animateTo( diff --git a/app/lib/views/schedule/widgets/schedule_card.dart b/app/lib/views/schedule/widgets/schedule_card.dart index 8868906..de12409 100644 --- a/app/lib/views/schedule/widgets/schedule_card.dart +++ b/app/lib/views/schedule/widgets/schedule_card.dart @@ -225,24 +225,23 @@ class ScheduleCard extends StatelessWidget { // 멤버 if (memberList.isNotEmpty) ...[ const SizedBox(height: 12), + // divider (전체 너비) Container( - padding: const EdgeInsets.only(top: 12), - decoration: const BoxDecoration( - border: Border( - top: BorderSide(color: AppColors.divider, width: 1), - ), - ), - child: Wrap( - spacing: 6, - runSpacing: 6, - children: memberList.length >= 5 - ? [ - const MemberChip(name: '프로미스나인'), - ] - : memberList - .map((name) => MemberChip(name: name)) - .toList(), - ), + width: double.infinity, + height: 1, + color: AppColors.divider, + ), + const SizedBox(height: 12), + Wrap( + spacing: 6, + runSpacing: 6, + children: memberList.length >= 5 + ? [ + const MemberChip(name: '프로미스나인'), + ] + : memberList + .map((name) => MemberChip(name: name)) + .toList(), ), ], ],