fix: 调整看板奖牌位置为卡片顶部左侧

This commit is contained in:
JSR
2026-03-24 20:02:21 +08:00
parent bb5d5eb253
commit 84cdc5f2fd
+3 -4
View File
@@ -836,12 +836,11 @@ ORDER BY reward_points DESC, score DESC`,
{rankBadge && ( {rankBadge && (
<div <div
style={{ style={{
position: "absolute", display: "flex",
top: "-22px", justifyContent: "flex-start",
left: "50%",
transform: "translateX(-50%)",
fontSize: "24px", fontSize: "24px",
lineHeight: 1, lineHeight: 1,
marginBottom: 6,
}} }}
> >
{rankBadge} {rankBadge}