diff --git a/CTFd/static/admin/css/style.css b/CTFd/static/admin/css/style.css index 81d189e..a44f9b4 100644 --- a/CTFd/static/admin/css/style.css +++ b/CTFd/static/admin/css/style.css @@ -94,7 +94,7 @@ table{ } .chal-button > .chal-points { - margin-bottom: 0px; + margin: -20px 0 0 0; height: 20px; } diff --git a/CTFd/static/admin/js/chalboard.js b/CTFd/static/admin/js/chalboard.js index 087fd28..bfe7dba 100644 --- a/CTFd/static/admin/js/chalboard.js +++ b/CTFd/static/admin/js/chalboard.js @@ -167,7 +167,7 @@ function loadchals(){ for (var i = 0; i <= challenges['game'].length - 1; i++) { var chal = challenges['game'][i] - var chal_button = $(''.format(chal.id, chal.name, chal.value, Math.round(chal.percentage_solved * 100))); + var chal_button = $(''.format(chal.id, chal.name, chal.value, Math.round(chal.percentage_solved * 100))); $('#' + challenges['game'][i].category.replace(/ /g,"-").hashCode()).append(chal_button); };