mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-19 21:14:21 +08:00
fix: 调整看板奖牌位置为卡片顶部左侧
This commit is contained in:
@@ -836,12 +836,11 @@ ORDER BY reward_points DESC, score DESC`,
|
||||
{rankBadge && (
|
||||
<div
|
||||
style={{
|
||||
position: "absolute",
|
||||
top: "-22px",
|
||||
left: "50%",
|
||||
transform: "translateX(-50%)",
|
||||
display: "flex",
|
||||
justifyContent: "flex-start",
|
||||
fontSize: "24px",
|
||||
lineHeight: 1,
|
||||
marginBottom: 6,
|
||||
}}
|
||||
>
|
||||
{rankBadge}
|
||||
|
||||
Reference in New Issue
Block a user