Skip to content

Commit 7a18664

Browse files
ScavieFaeclaude
andcommitted
Fix livestream height: flex ratios 4:1:1 for 2/3 livestream layout
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a43db0a commit 7a18664

2 files changed

Lines changed: 18 additions & 10 deletions

File tree

tournaments/viewer.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300
border: 1px solid rgba(0, 255, 136, 0.1);
301301
border-radius: 10px;
302302
background: #0e0e16;
303-
flex: 2;
303+
flex: 4;
304304
min-height: 0;
305305
display: flex;
306306
flex-direction: column;
@@ -562,13 +562,15 @@
562562
margin-top: 4px;
563563
}
564564

565-
/* Prediction market — compact */
565+
/* Prediction market — compact, flex participant */
566566
.prediction-section {
567567
border: 1px solid rgba(0, 255, 136, 0.1);
568568
border-radius: 10px;
569569
background: #0e0e16;
570570
padding: 12px 16px;
571-
flex-shrink: 0;
571+
flex: 1;
572+
min-height: 0;
573+
overflow: hidden;
572574
}
573575

574576
.prediction-header {
@@ -592,8 +594,10 @@
592594
.bottom-row {
593595
display: grid;
594596
grid-template-columns: 1fr auto;
595-
gap: 16px;
596-
flex-shrink: 0;
597+
gap: 12px;
598+
flex: 1;
599+
min-height: 0;
600+
overflow: hidden;
597601
}
598602

599603
.activity-section {

web/public/tournament/index.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@
300300
border: 1px solid rgba(0, 255, 136, 0.1);
301301
border-radius: 10px;
302302
background: #0e0e16;
303-
flex: 2;
303+
flex: 4;
304304
min-height: 0;
305305
display: flex;
306306
flex-direction: column;
@@ -562,13 +562,15 @@
562562
margin-top: 4px;
563563
}
564564

565-
/* Prediction market — compact */
565+
/* Prediction market — compact, flex participant */
566566
.prediction-section {
567567
border: 1px solid rgba(0, 255, 136, 0.1);
568568
border-radius: 10px;
569569
background: #0e0e16;
570570
padding: 12px 16px;
571-
flex-shrink: 0;
571+
flex: 1;
572+
min-height: 0;
573+
overflow: hidden;
572574
}
573575

574576
.prediction-header {
@@ -592,8 +594,10 @@
592594
.bottom-row {
593595
display: grid;
594596
grid-template-columns: 1fr auto;
595-
gap: 16px;
596-
flex-shrink: 0;
597+
gap: 12px;
598+
flex: 1;
599+
min-height: 0;
600+
overflow: hidden;
597601
}
598602

599603
.activity-section {

0 commit comments

Comments
 (0)