This commit is contained in:
Simon Rapilly 2024-05-10 20:06:52 +00:00 committed by GitHub
commit 572ae7be4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -74,9 +74,9 @@ class Section extends PureComponent {
return (
<div className={classNames('about__section', { active: !collapsed })}>
<div className='about__section__title' role='button' tabIndex={0} onClick={this.handleClick}>
<button aria-expanded={!collapsed} onClick={this.handleClick} className='about__section__title'>
<Icon id={collapsed ? 'chevron-right' : 'chevron-down'} icon={collapsed ? ChevronRightIcon : ExpandMoreIcon} /> {title}
</div>
</button>
{!collapsed && (
<div className='about__section__body'>{children}</div>

View File

@ -9713,6 +9713,8 @@ noscript {
border: 1px solid var(--background-border-color);
color: $highlight-text-color;
cursor: pointer;
border: unset;
width: 100%;
}
&.active &__title {