fix: problem_set table col width
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-09-25 14:31:52 +08:00
parent 83488ad7cf
commit bb3656749d
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -125,9 +125,9 @@ EOD;
$header .= '<th class="text-center" style="width:5em;">ID</th>'; $header .= '<th class="text-center" style="width:5em;">ID</th>';
$header .= '<th>'.UOJLocale::get('problems::problem').'</th>'; $header .= '<th>'.UOJLocale::get('problems::problem').'</th>';
if (isset($_COOKIE['show_submit_mode'])) { if (isset($_COOKIE['show_submit_mode'])) {
$header .= '<th class="text-center" style="width:5em;">'.UOJLocale::get('problems::ac').'</th>'; $header .= '<th class="text-center" style="width:' . (isset($REQUIRE_LIB['bootstrap5']) ? '4' : '5') . 'em;">'.UOJLocale::get('problems::ac').'</th>';
$header .= '<th class="text-center" style="width:5em;">'.UOJLocale::get('problems::submit').'</th>'; $header .= '<th class="text-center" style="width:' . (isset($REQUIRE_LIB['bootstrap5']) ? '4' : '5') . 'em;">'.UOJLocale::get('problems::submit').'</th>';
$header .= '<th class="text-center" style="width:150px;">'.UOJLocale::get('problems::ac ratio').'</th>'; $header .= '<th class="text-center" style="width:' . (isset($REQUIRE_LIB['bootstrap5']) ? '125' : '150') . 'px;">'.UOJLocale::get('problems::ac ratio').'</th>';
} }
$header .= '<th class="text-center" style="width:190px;">'.UOJLocale::get('appraisal').'</th>'; $header .= '<th class="text-center" style="width:190px;">'.UOJLocale::get('appraisal').'</th>';
$header .= '</tr>'; $header .= '</tr>';