1
1
mirror of https://github.com/renbaoshuo/S2OJ.git synced 2025-03-30 18:37:03 +00:00

fix: 1ffde85d3622fa716c4e4d8cdfae09e4fc365f01

This commit is contained in:
Baoshuo Ren 2022-09-21 17:18:53 +08:00
parent 1ffde85d36
commit bdcad42504
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

@ -127,7 +127,7 @@ function getUserLink(username, realname) {
username = username.substr(1);
}
if (realname) {
text = text + ' <span class="uoj-realname inline-block">(' + realname + ')</span>';
text = text + ' <span class="uoj-realname d-inline-block">(' + realname + ')</span>';
}
return '<a class="uoj-username" href="' + uojHome + '/user/profile/' + username + '">' + text + '</a>';
}
@ -140,7 +140,7 @@ function getUserSpan(username, realname) {
username = username.substr(1);
}
if (realname) {
text = text + ' <span class="uoj-realname inline-block">(' + realname + ')</span>';
text = text + ' <span class="uoj-realname d-inline-block">(' + realname + ')</span>';
}
return '<span class="uoj-username">' + text + '</span>';
}