mirror of https://github.com/mastodon/mastodon
Merge 033ec767e3
into 1959365c2f
This commit is contained in:
commit
572ae7be4d
|
@ -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>
|
||||
|
|
|
@ -9713,6 +9713,8 @@ noscript {
|
|||
border: 1px solid var(--background-border-color);
|
||||
color: $highlight-text-color;
|
||||
cursor: pointer;
|
||||
border: unset;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&.active &__title {
|
||||
|
|
Loading…
Reference in New Issue