Fix clickable area of general event list summary toggle (#8979)
* Fix toggle of expanded generic event list summary on bubble layout Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Margin settings Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Remove redundant declarations Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Remove redundant declaration Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
parent
ed92071046
commit
32eb853bbb
2 changed files with 10 additions and 8 deletions
|
@ -119,7 +119,12 @@ const GenericEventListSummary: React.FC<IProps> = ({
|
|||
data-layout={layout}
|
||||
data-testid={testId}
|
||||
>
|
||||
<AccessibleButton className="mx_GenericEventListSummary_toggle" onClick={toggleExpanded} aria-expanded={expanded}>
|
||||
<AccessibleButton
|
||||
kind="link_inline"
|
||||
className="mx_GenericEventListSummary_toggle"
|
||||
onClick={toggleExpanded}
|
||||
aria-expanded={expanded}
|
||||
>
|
||||
{ expanded ? _t('collapse') : _t('expand') }
|
||||
</AccessibleButton>
|
||||
{ body }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue