1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 22:54:11 +00:00

fix: path style (#6599)

* fix: path style

* feat: update code

---------

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
杨国璇
2024-08-21 17:12:41 +08:00
committed by GitHub
parent 539daf8c3d
commit 6f5f1f0e05
5 changed files with 121 additions and 65 deletions

View File

@@ -239,7 +239,7 @@ class DirOperationToolbar extends React.Component {
{this.props.children}
<i className="sf3-font-down sf3-font ml-1 path-item-dropdown-toggle"></i>
</DropdownToggle>
<DropdownMenu onMouseMove={this.onDropDownMouseMove}>
<DropdownMenu onMouseMove={this.onDropDownMouseMove} positionFixed={true}>
{opList.map((item, index) => {
if (item == 'Divider') {
return <DropdownItem key={index} divider />;
@@ -297,7 +297,7 @@ class DirOperationToolbar extends React.Component {
{this.props.children}
<i className="sf3-font-down sf3-font ml-1 path-item-dropdown-toggle"></i>
</DropdownToggle>
<DropdownMenu>
<DropdownMenu positionFixed={true}>
{canUpload && (
<DropdownItem onClick={this.onUploadFile}>{gettext('Upload')}</DropdownItem>
)}