fix: a90815b20c
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-10-08 12:47:46 +08:00
parent 6582722f50
commit 23ff07e9e1
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A
2 changed files with 4 additions and 4 deletions

View File

@ -54,10 +54,10 @@
if (isset($_COOKIE['show_tags_mode'])) {
foreach (queryProblemTags($problem['id']) as $tag) {
if (isset($REQUIRE_LIB['bootstrap5'])) {
echo '<a class="uoj-problem-tag my-1">';
echo ' <a class="uoj-problem-tag my-1">';
echo '<span class="badge bg-secondary">';
} else {
echo '<a class="uoj-problem-tag">';
echo ' <a class="uoj-problem-tag">';
echo '<span class="badge badge-pill badge-secondary">';
}
echo HTML::escape($tag), '</span>';

View File

@ -66,10 +66,10 @@
if (isset($_COOKIE['show_tags_mode'])) {
foreach (queryProblemTags($problem['id']) as $tag) {
if (isset($REQUIRE_LIB['bootstrap5'])) {
echo '<a class="uoj-problem-tag my-1">';
echo ' <a class="uoj-problem-tag my-1">';
echo '<span class="badge bg-secondary">';
} else {
echo '<a class="uoj-problem-tag">';
echo ' <a class="uoj-problem-tag">';
echo '<span class="badge badge-pill badge-secondary">';
}
echo HTML::escape($tag), '</span>';