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:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user