fix: hide verbose feedback on mobile

This commit is contained in:
ittoview
2026-05-15 17:26:12 +01:00
parent 53706bb3e4
commit a1db3794bd

View File

@@ -607,7 +607,7 @@ export default function PerformanceDomainPracticePage() {
<div>
<div
className={clsx(
'flex items-center gap-2 text-sm font-semibold',
'hidden items-center gap-2 text-sm font-semibold sm:flex',
answerState.isCorrect
? 'text-emerald-700 dark:text-emerald-300'
: 'text-rose-700 dark:text-rose-300'
@@ -619,7 +619,7 @@ export default function PerformanceDomainPracticePage() {
: `错误:你选了 ${selectedDomain?.name ?? ''}`}
</div>
{!answerState.isCorrect && (
<p className="mt-1 text-sm text-gray-700 dark:text-gray-300">
<p className="mt-1 hidden text-sm text-gray-700 dark:text-gray-300 sm:block">
{currentDomain.name}
</p>
)}