1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 06:34:40 +00:00

[a11y] Activities: added 'keyboard access'

This commit is contained in:
llj
2021-09-23 17:26:26 +08:00
parent b9c05d2986
commit 03d402abe8

View File

@@ -154,7 +154,7 @@ class ActivityItem extends Component {
details = (
<Fragment>
<p className="m-0 d-inline" dangerouslySetInnerHTML={{__html: firstLine}}></p>
{isDesktop && <span onClick={this.onListCreatedFilesToggle} className="activity-details text-secondary ml-2">{gettext('details')}</span>}
{isDesktop && <button type="button" onClick={this.onListCreatedFilesToggle} className="activity-details text-secondary ml-2 border-0 p-0 bg-transparent">{gettext('details')}</button>}
</Fragment>
);
moreDetails = true;