adjust medal and rainbow ID style

This commit is contained in:
xiaomlove
2022-08-11 00:20:04 +08:00
parent b539eff587
commit 19b5809af3
5 changed files with 17 additions and 3 deletions

View File

@@ -3736,7 +3736,7 @@ function get_username($id, $big = false, $link = true, $bold = true, $target = f
//medal
$medalHtml = '';
foreach ($arr['wearing_medals'] as $medal) {
$medalHtml .= sprintf('<img src="%s" title="%s" class="preview" style="vertical-align: middle;max-height: 16px;max-width: 16px;margin-right: 2px"/>', $medal['image_large'], $medal['name']);
$medalHtml .= sprintf('<img src="%s" title="%s" class="preview" style="vertical-align: sub;max-height: 16px;max-width: 16px;margin-right: 2px"/>', $medal['image_large'], $medal['name']);
}
$href = getSchemeAndHttpHost() . "/userdetails.php?id=$id";