fix: 调整看板学生卡片排名标识到上方

This commit is contained in:
JSR
2026-03-24 20:00:20 +08:00
parent 03feee6e6b
commit bb5d5eb253
+8 -1
View File
@@ -835,7 +835,14 @@ ORDER BY reward_points DESC, score DESC`,
>
{rankBadge && (
<div
style={{ position: "absolute", top: "-10px", left: "-10px", fontSize: "24px" }}
style={{
position: "absolute",
top: "-22px",
left: "50%",
transform: "translateX(-50%)",
fontSize: "24px",
lineHeight: 1,
}}
>
{rankBadge}
</div>