mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 18:30:53 +00:00
[dir view] toolbar for the current folder: modified UI details (#6119)
This commit is contained in:
@@ -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 && (
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user