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

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

View File

@ -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>';
}