diff --git a/tournaments/static/tournaments/css/style.css b/tournaments/static/tournaments/css/style.css index 16404ef..18739bb 100644 --- a/tournaments/static/tournaments/css/style.css +++ b/tournaments/static/tournaments/css/style.css @@ -547,12 +547,12 @@ h-margin { } .left-label { - align-self: flex-start; + /* align-self: flex-start; */ /* Aligns the left label to the top */ } .right-label { - align-self: flex-end; + /* align-self: flex-end; */ /* Aligns the right label to the bottom */ } @@ -1062,32 +1062,32 @@ h-margin { text-decoration: line-through; } -.status-container { - margin: 0 -20px -20px -20px; /* Negative margin to counter the bubble padding, including bottom */ - padding: 10px 20px 20px 20px; /* Add padding back to maintain text alignment, including bottom */ - border-radius: 0 0 24px 24px; /* Match the bubble's bottom corners */ -} - -.status-container-bracket { - margin: 0px -20px -20px -20px; /* Negative margin to counter the bubble padding, including bottom */ - padding: 10px 20px 10px 20px; /* Add padding back to maintain text alignment, including bottom */ - border-radius: 0 0 24px 24px; /* Match the bubble's bottom corners */ +.match-status-container { align-items: center; + display: flex; + height: 100%; + margin-left: -20px; + margin-right: -20px; + padding-left: 20px; + padding-right: 20px; } -.status-container-bracket-header { - height: 24px; +.match-status-container-header { + margin-top: -20px; + height: 40px; text-align: left; } -.status-container-bracket-header-bottom { - height: 24px; +.match-status-container-header-bottom { + margin-bottom: -20px; + height: 40px; text-align: left; } -.status-container-bracket.running, +.match-status-container.running, .status-container.running { - background-color: #90ee90; /* Light green color */ + background-color: #90ee90; + border-radius: 0 0 24px 24px; } .overlay-text { diff --git a/tournaments/static/tournaments/css/tournament_bracket.css b/tournaments/static/tournaments/css/tournament_bracket.css index 02d0648..12ba4d6 100644 --- a/tournaments/static/tournaments/css/tournament_bracket.css +++ b/tournaments/static/tournaments/css/tournament_bracket.css @@ -44,7 +44,7 @@ text-align: center; font-weight: bold; width: 100%; /* Change from 100% to auto */ - padding: 5px 10px; + padding: 0px 10px; white-space: nowrap; /* Prevent text from wrapping */ display: flex; @@ -251,3 +251,7 @@ background-color: #90ee90; /* Light green color */ border-radius: 0 0 24px 24px; /* Match the bubble's bottom corners */ } + +.match-result.broadcast-mode { + padding: 0px; +} diff --git a/tournaments/templates/tournaments/bracket_match_cell.html b/tournaments/templates/tournaments/bracket_match_cell.html index 32c8da2..f6ecdfe 100644 --- a/tournaments/templates/tournaments/bracket_match_cell.html +++ b/tournaments/templates/tournaments/bracket_match_cell.html @@ -1,9 +1,9 @@ {% load static %} -
+
-
+
{% if match.bracket_name %} {% endif %} @@ -64,8 +64,8 @@ {% endfor %}
-
-
+
+