diff --git a/web/app/controllers/problem_solutions.php b/web/app/controllers/problem_solutions.php index 05b016c..27fc649 100644 --- a/web/app/controllers/problem_solutions.php +++ b/web/app/controllers/problem_solutions.php @@ -89,7 +89,7 @@ if (UOJProblem::cur()->userCanManage(Auth::user()) || UOJProblem::cur()->userPer }, ]); $add_new_solution_form->config['form']['class'] = 'd-flex'; - $add_new_solution_form->config['submit_container']['class'] = 'ms-2'; + $add_new_solution_form->config['submit_container']['class'] = 'ms-2 flex-shrink-0'; $add_new_solution_form->config['submit_button']['text'] = '发布'; $add_new_solution_form->handle = function (&$vdata) { DB::insert([