fix(client): cursor type in challenge explanation (#57708)

This commit is contained in:
Huyen Nguyen 2024-12-24 02:45:43 +07:00 committed by GitHub
parent fec00f4f55
commit 3f350df7e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,3 @@
.explanation {
.challenge-summary {
cursor: pointer;
}

View File

@ -16,8 +16,10 @@ function ChallengeExplanation({
return (
<>
<details className='explanation'>
<summary>{t('learn.explanation')}</summary>
<details>
<summary className='challenge-summary'>
{t('learn.explanation')}
</summary>
<Spacer size='m' />
<PrismFormatted className={'line-numbers'} text={explanation} />
</details>