Fix mobile opponents to fit 3 per row with calc-based flex-basis
Replaces fixed 120px width with calc((100% - 20px) / 3) so 3 opponents always fit per row regardless of viewport width. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b4e9390f16
commit
889f8ce1cd
@ -5061,8 +5061,7 @@ body.mobile-portrait .opponent-area {
|
|||||||
padding: 3px 4px 4px;
|
padding: 3px 4px 4px;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 calc((100% - 20px) / 3);
|
||||||
width: 120px;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user