fix: 匹配结果页标题和副标题添加 text-center 确保居中

This commit is contained in:
2026-02-26 14:26:42 +08:00
parent d122ee7fb5
commit f851eed847
+2 -2
View File
@@ -306,7 +306,7 @@ export default function MatchResult({
</motion.div>
<motion.h1
className="mt-3 text-4xl font-black text-white"
className="mt-3 text-center text-4xl font-black text-white"
initial={{ y: 30, opacity: 0 }}
animate={{ y: 0, opacity: 1 }}
transition={{ delay: 0.35 }}
@@ -315,7 +315,7 @@ export default function MatchResult({
</motion.h1>
<motion.p
className={`mt-1 text-sm font-medium ${isUnanimous ? "text-emerald-400" : "text-amber-400"}`}
className={`mt-1 text-center text-sm font-medium ${isUnanimous ? "text-emerald-400" : "text-amber-400"}`}
initial={{ y: 20, opacity: 0 }}
animate={{ y: 0, opacity: 1 }}
transition={{ delay: 0.45 }}