1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 17:33:18 +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 ( return (
<Fragment key={index} > <Fragment key={index} >
<span className="path-split">/</span> <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> </Fragment>
); );
} }
@@ -135,7 +135,7 @@ class DirPath extends React.Component {
> >
<span className="path-repo-name">{repoName}</span> <span className="path-repo-name">{repoName}</span>
</DirOperationToolBar> : </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} {pathElem}
{this.props.isViewFile && ( {this.props.isViewFile && (

View File

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