ui: fix chartsize & copy button position (#313)

This commit is contained in:
pandadtdyy authored and GitHub committed 2022-03-09 17:38:03 +08:00
1 parent 723ad4951f
commit ad3a0c48aa
2 files changed
+9 -3

No files matched your search

@@ -250,6 +250,11 @@ const page = new NamedPage(['problem_detail', 'contest_detail_problem', 'homewor
type: 'bar',
}],
});
window.onresize = function () {
statusChart.resize();
scoreChart.resize();
}
}
$(document).on('click', '[name="problem-sidebar__open-scratchpad"]', (ev) => {