|
|
|
@ -69,7 +69,7 @@ function renderBracket(options) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (screenHeight <= 720) { |
|
|
|
if (screenHeight <= 720) { |
|
|
|
} else if (screenHeight <= 1080) { |
|
|
|
} else if (screenHeight <= 1200) { |
|
|
|
if (topMargin <= 0) { |
|
|
|
if (topMargin <= 0) { |
|
|
|
topMargin = 40; |
|
|
|
topMargin = 40; |
|
|
|
} |
|
|
|
} |
|
|
|
@ -355,9 +355,9 @@ function renderBracket(options) { |
|
|
|
if (doubleButterflyMode) { |
|
|
|
if (doubleButterflyMode) { |
|
|
|
if (window.innerHeight <= 720) { |
|
|
|
if (window.innerHeight <= 720) { |
|
|
|
roundTopMargin = 50; |
|
|
|
roundTopMargin = 50; |
|
|
|
} else if (window.innerHeight > 720 && window.innerHeight <= 1080) { |
|
|
|
} else if (window.innerHeight > 720 && window.innerHeight <= 1200) { |
|
|
|
roundTopMargin = 80; |
|
|
|
roundTopMargin = 80; |
|
|
|
} else if (window.innerHeight > 1080) { |
|
|
|
} else if (window.innerHeight > 1200) { |
|
|
|
roundTopMargin = 140; |
|
|
|
roundTopMargin = 140; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -390,7 +390,7 @@ function renderBracket(options) { |
|
|
|
let offset = 40; |
|
|
|
let offset = 40; |
|
|
|
if (window.innerHeight <= 720) { |
|
|
|
if (window.innerHeight <= 720) { |
|
|
|
offset = 40; |
|
|
|
offset = 40; |
|
|
|
} else if (window.innerHeight <= 1080) { |
|
|
|
} else if (window.innerHeight <= 1200) { |
|
|
|
offset = 60; |
|
|
|
offset = 60; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
offset = 120; |
|
|
|
offset = 120; |
|
|
|
|