From 6202e1a74fc536e8a22776010cc18993bb15a2ca Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Tue, 7 Feb 2023 19:07:53 +0800 Subject: [PATCH] fix(problem/solutions): style of add_new_solution_form --- web/app/controllers/problem_solutions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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([