fix(problem/solutions): style of add_new_solution_form

This commit is contained in:
Baoshuo Ren 2023-02-07 19:07:53 +08:00
parent d6e47f1de5
commit 6202e1a74f
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -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([