mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(client): cursor type in challenge explanation (#57708)
This commit is contained in:
parent
fec00f4f55
commit
3f350df7e2
@ -1,3 +1,3 @@
|
||||
.explanation {
|
||||
.challenge-summary {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user