1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 10:22:46 +00:00

[dir view] toolbar for the current folder: modified UI details (#6119)

This commit is contained in:
llj
2024-05-27 19:46:40 +08:00
committed by GitHub
parent dc0c220364
commit db4ed716aa
2 changed files with 2 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ class DirPath extends React.Component {
return (
<Fragment key={index} >
<span className="path-split">/</span>
<a className="path-link path-item" data-path={nodePath} onClick={this.onPathClick}>{item}</a>
<span className="path-item" data-path={nodePath} onClick={this.onPathClick} role="button">{item}</span>
</Fragment>
);
}
@@ -135,7 +135,7 @@ class DirPath extends React.Component {
>
<span className="path-repo-name">{repoName}</span>
</DirOperationToolBar> :
<a className="path-item" data-path="/" onClick={this.onPathClick}>{repoName}</a>
<span className="path-item" data-path="/" onClick={this.onPathClick} role="button">{repoName}</span>
}
{pathElem}
{this.props.isViewFile && (

View File

@@ -225,8 +225,6 @@ class DirOperationToolbar extends React.Component {
tag="div"
role="button"
className="path-item"
title={gettext('More operations')}
aria-label={gettext('More operations')}
onClick={this.toggleDesktopOpMenu}
onKeyDown={this.onDropdownToggleKeyDown}
data-toggle="dropdown"