mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-19 12:34:22 +08:00
fix: 调整看板学生卡片排名标识到上方
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user