Skip to content

Commit a2a40f2

Browse files
committed
[style] 카페 상세 헤더 오버플로우 제거 #380
1 parent 4cc6c7e commit a2a40f2

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

frontend/lib/screen/cafe_details.dart

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,10 @@ class _CafeDetailsState extends State<CafeDetails>
160160
return Scaffold(
161161
appBar: TopAppBar(
162162
titleWidget: Row(
163+
mainAxisAlignment: MainAxisAlignment.spaceBetween,
163164
children: [
164165
SizedBox(
165-
width: 280,
166+
width: 240,
166167
child: Text(
167168
widget.cafeName,
168169
style: const TextStyle(
@@ -171,10 +172,13 @@ class _CafeDetailsState extends State<CafeDetails>
171172
),
172173
(myCafe.cafeId != widget.cafeId)
173174
? Container()
174-
: const Icon(
175-
Icons.circle,
176-
size: 13,
177-
color: Color(0xFFFF6C3E),
175+
: const Padding(
176+
padding: EdgeInsets.only(right: 10),
177+
child: Icon(
178+
Icons.circle,
179+
size: 13,
180+
color: Color(0xFFFF6C3E),
181+
),
178182
),
179183
],
180184
),

0 commit comments

Comments
 (0)