From 1140747af2fd43d684f0cc5c1e3d1453d01bb6af Mon Sep 17 00:00:00 2001 From: sihoo Date: Tue, 22 Sep 2026 00:40:42 +0000 Subject: [PATCH] =?UTF-8?q?=EC=84=A0=EC=83=9D=EB=8B=98=20=EC=9C=84?= =?UTF-8?q?=EC=B9=98=20=EC=95=8C=EB=A6=AC=EA=B8=B0=20=ED=99=94=EB=A9=B4?= =?UTF-8?q?=EB=8F=84=20=ED=98=B8=EC=B6=9C=20=ED=99=94=EB=A9=B4=EC=B2=98?= =?UTF-8?q?=EB=9F=BC=20=EA=B0=80=EC=9A=B4=EB=8D=B0=20=EC=B5=9C=EB=8C=80=20?= =?UTF-8?q?560=20=ED=8F=AD=EC=9C=BC=EB=A1=9C=20=EC=A0=9C=ED=95=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 5 --- lib/ui/teacher_location_screen.dart | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/lib/ui/teacher_location_screen.dart b/lib/ui/teacher_location_screen.dart index a7a4763..1d7eb3f 100644 --- a/lib/ui/teacher_location_screen.dart +++ b/lib/ui/teacher_location_screen.dart @@ -74,6 +74,12 @@ class _TeacherLocationScreenState extends State { ); } + /// 넓은 화면(웹 데스크톱)에서 내용이 양옆으로 늘어지지 않게 가운데 최대 560 폭으로 맞춘다. + double _sidePad(BuildContext context) { + final width = MediaQuery.of(context).size.width; + return ((width - 560) / 2).clamp(16.0, double.infinity); + } + @override Widget build(BuildContext context) { return ListenableBuilder( @@ -91,7 +97,12 @@ class _TeacherLocationScreenState extends State { : RefreshIndicator( onRefresh: _controller.fetchReceivedCalls, child: ListView( - padding: const EdgeInsets.fromLTRB(16, 0, 16, 16), + padding: EdgeInsets.fromLTRB( + _sidePad(context), + 0, + _sidePad(context), + 16, + ), children: [ const Center(child: TitlePill('내 위치 알리기')), const SizedBox(height: 16),