fix broadcast layout

sync_v2
Raz 6 months ago
parent 9ac210a47b
commit f8135433dc
  1. 9
      tournaments/static/tournaments/css/broadcast.css
  2. 4
      tournaments/static/tournaments/js/tournament_bracket.js

@ -29,9 +29,6 @@ body {
box-shadow: 0 0 0px 0px #fbead6; box-shadow: 0 0 0px 0px #fbead6;
} }
.bracket-bubble-header {
}
.bubble-footer { .bubble-footer {
background-color: white; background-color: white;
display: flex; display: flex;
@ -46,7 +43,7 @@ body {
.bubble-sponsor { .bubble-sponsor {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 20px; gap: 8px;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
@ -66,12 +63,14 @@ body {
.sponsor-logo-broadcast { .sponsor-logo-broadcast {
height: 100px; height: 100px;
width: 100px;
object-fit: contain; object-fit: contain;
} }
.sponsor-logo-broadcast.screen-size-overlay { .sponsor-logo-broadcast.screen-size-overlay {
object-fit: contain; object-fit: contain;
height: 80px; /* Example height matching QR code */ height: 80px;
width: 80px; /* Example height matching QR code */
} }
.bold { .bold {

@ -50,8 +50,10 @@ function renderBracket(options) {
Math.floor(availableWidth / roundTotalCount), Math.floor(availableWidth / roundTotalCount),
); );
if (roundTotalCount < 6) { if (roundTotalCount < 5) {
topMargin = 60; topMargin = 60;
} else {
topMargin = 0;
} }
} }

Loading…
Cancel
Save