Ok, in fact I looked into the doc of the script and there are parameters to achieve what you did instead of the css.
So I would recommend you to revert the modification and edit the xfa_tourn_tournament_bracket template.
Search for:
You would need to add additional parameters to the call, eg.:
These are some default parameters given on the script description page, you have to adapt them to your needs.
Clément
So I would recommend you to revert the modification and edit the xfa_tourn_tournament_bracket template.
Search for:
Code:
$('.tournamentBracket').bracket({
init: bracketData,
centerConnectors: true,
skipConsolationRound: {xen:if '{$tournament.third_place}', false, true},
skipGrandFinalComeback: {xen:if '{$tournament.mode} == "consolation"', true, false},
<xen:if is="{$canEditTournament}">
save: function(){}, /* without save() labels are disabled */
</xen:if>
decorator: {edit: edit_fn, render: render_fn}
});
You would need to add additional parameters to the call, eg.:
Code:
$('.tournamentBracket').bracket({
init: bracketData,
teamWidth: 60,
scoreWidth: 20,
matchMargin: 10,
roundMargin: 50,
centerConnectors: true,
skipConsolationRound: {xen:if '{$tournament.third_place}', false, true},
skipGrandFinalComeback: {xen:if '{$tournament.mode} == "consolation"', true, false},
<xen:if is="{$canEditTournament}">
save: function(){}, /* without save() labels are disabled */
</xen:if>
decorator: {edit: edit_fn, render: render_fn}
});
These are some default parameters given on the script description page, you have to adapt them to your needs.
Clément