@@ -200,8 +200,8 @@ export default function TeamScreen({
200200 "
201201 >
202202 { /* NAVIGATION */ }
203- < div
204- className = "
203+ < div
204+ className = "
205205 team-nav-row
206206 w-full
207207 max-w-[1400px]
@@ -210,12 +210,11 @@ export default function TeamScreen({
210210 sm:pb-3
211211 md:pb-3
212212 "
213- >
214- < div className = "flex items-center gap-2 sm:gap-3" >
215-
216- < Link
217- href = "/login"
218- className = "
213+ >
214+ < div className = "flex items-center gap-2 sm:gap-3" >
215+ < Link
216+ href = "/login"
217+ className = "
219218 team-nav-btn
220219 inline-flex
221220 items-center
@@ -235,15 +234,15 @@ export default function TeamScreen({
235234 active:translate-y-[1px]
236235 active:shadow-[2px_2px_0_rgba(0,0,0,0.85)]
237236 "
238- >
239- BACK
240- </ Link >
237+ >
238+ BACK
239+ </ Link >
241240
242- { isLeader && (
243- < Link
244- href = "/submission"
245- onClick = { handleSubmissionClick }
246- className = "
241+ { isLeader && (
242+ < Link
243+ href = "/submission"
244+ onClick = { handleSubmissionClick }
245+ className = "
247246 team-nav-btn
248247 inline-flex
249248 items-center
@@ -263,17 +262,17 @@ export default function TeamScreen({
263262 active:translate-y-[1px]
264263 active:shadow-[2px_2px_0_rgba(0,0,0,0.85)]
265264 "
266- >
267- < span className = "sm:hidden" > SUBMIT</ span >
268- < span className = "hidden sm:inline" > SUBMIT PROJECT</ span >
269- </ Link >
270- ) }
271-
272- < div className = "ml-auto" >
273- < button
274- type = "button"
275- onClick = { handleLeaveTeam }
276- className = "
265+ >
266+ < span className = "sm:hidden" > SUBMIT</ span >
267+ < span className = "hidden sm:inline" > SUBMIT PROJECT</ span >
268+ </ Link >
269+ ) }
270+
271+ < div className = "ml-auto" >
272+ < button
273+ type = "button"
274+ onClick = { handleLeaveTeam }
275+ className = "
277276 team-nav-btn
278277 inline-flex
279278 items-center
@@ -293,13 +292,12 @@ export default function TeamScreen({
293292 active:translate-y-[1px]
294293 active:shadow-[2px_2px_0_rgba(0,0,0,0.85)]
295294 "
296- >
297- LEAVE TEAM
298- </ button >
299- </ div >
300-
301- </ div >
302- </ div >
295+ >
296+ LEAVE TEAM
297+ </ button >
298+ </ div >
299+ </ div >
300+ </ div >
303301
304302 { /* MAIN GAME AREA */ }
305303 < div
@@ -355,7 +353,11 @@ export default function TeamScreen({
355353 "
356354 style = { { fontSize : "clamp(14px, 1.6vw, 22px)" } }
357355 >
358- { activeTeamCode ? activeTeamCode : < span className = "opacity-50" > ----</ span > }
356+ { activeTeamCode ? (
357+ activeTeamCode
358+ ) : (
359+ < span className = "opacity-50" > ----</ span >
360+ ) }
359361 </ span >
360362
361363 { /* COPY BUTTON */ }
@@ -397,7 +399,7 @@ export default function TeamScreen({
397399 </ div >
398400 </ div >
399401 ) }
400-
402+
401403 { /* HEADING */ }
402404 < div
403405 className = "
@@ -409,7 +411,7 @@ export default function TeamScreen({
409411 px-2
410412 pt-0
411413 "
412- >
414+ >
413415 < h1
414416 className = "
415417 font-pixeboy
@@ -419,9 +421,9 @@ export default function TeamScreen({
419421 text-white
420422 pt-1
421423 "
422- style = { {
424+ style = { {
423425 fontSize : "clamp(55px, 12vh, 140px)" ,
424- lineHeight : "0.9" ,
426+ lineHeight : "0.9" ,
425427 textShadow :
426428 "4px 4px 0 #0a2a3a, -2px -2px 0 #0a2a3a, 2px -2px 0 #0a2a3a, -2px 2px 0 #0a2a3a, 0 5px 0 rgba(0,0,0,0.6)" ,
427429 letterSpacing : "0.05em" ,
@@ -485,28 +487,27 @@ export default function TeamScreen({
485487 { player . filled ? (
486488 < div
487489 className = "
488- team-slot-filled
489- flex
490- h-full
491- w-full
492- flex-col
493- justify-center
494- rounded-[5px]
495- border-[2px]
496- border-black
497- bg-white
498- px-2.5
499- py-1.5
500- shadow-[3px_3px_0_rgba(0,0,0,0.85)]
501- "
490+ team-slot-filled
491+ flex
492+ h-auto
493+ min-h-[48px]
494+ w-full
495+ flex-col
496+ justify-center
497+ rounded-[5px]
498+ border-[2px]
499+ border-black
500+ bg-white
501+ px-2.5
502+ py-1.5
503+ shadow-[3px_3px_0_rgba(0,0,0,0.85)]
504+ "
502505 >
503- < div className = "flex items-center justify-between gap-1" >
504- < span className = "truncate pr-1 font-pixeboy leading-none text-black" >
505- { player . name }
506- </ span >
507- </ div >
506+ < span className = "font-pixeboy leading-tight text-black break-all text-[clamp(11px,1.2vw,15px)]" >
507+ { player . name }
508+ </ span >
508509
509- < span className = "mt-0.5 truncate font-pixeboy leading-none text-[#c0392b]" >
510+ < span className = "mt-0.5 font-pixeboy leading-tight text-[#c0392b] break-all text-[clamp(10px,1.1vw,14px) ]" >
510511 { player . id === 1
511512 ? `${ player . teamName } (LEADER)`
512513 : player . teamName }
0 commit comments