1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-17 15:53:28 +00:00

Add dir operation icon (#7515)

This commit is contained in:
Michael An
2025-02-25 11:33:22 +08:00
committed by GitHub
parent 2b297f4f77
commit 4385020918
3 changed files with 12 additions and 5 deletions

View File

@@ -293,7 +293,8 @@ class DirOperationToolbar extends React.Component {
data-toggle="dropdown" data-toggle="dropdown"
> >
{this.props.children} {this.props.children}
<i className="sf3-font-down sf3-font ml-1 path-item-dropdown-toggle"></i> <i className="sf3-font-new sf3-font ml-2"></i>
<i className="sf3-font-down sf3-font path-item-dropdown-toggle"></i>
</DropdownToggle> </DropdownToggle>
<DropdownMenu onMouseMove={this.onDropDownMouseMove} positionFixed={true}> <DropdownMenu onMouseMove={this.onDropDownMouseMove} positionFixed={true}>
{opList.map((item, index) => { {opList.map((item, index) => {
@@ -351,7 +352,8 @@ class DirOperationToolbar extends React.Component {
className="path-item" className="path-item"
> >
{this.props.children} {this.props.children}
<i className="sf3-font-down sf3-font ml-1 path-item-dropdown-toggle"></i> <i className="sf3-font-new sf3-font ml-2"></i>
<i className="sf3-font-down sf3-font path-item-dropdown-toggle"></i>
</DropdownToggle> </DropdownToggle>
<DropdownMenu positionFixed={true}> <DropdownMenu positionFixed={true}>
{canUpload && ( {canUpload && (

View File

@@ -316,9 +316,14 @@
display: inline-block; display: inline-block;
} }
.dir-view-path .sf3-font-new,
.dir-view-path .path-item-dropdown-toggle { .dir-view-path .path-item-dropdown-toggle {
color: #666; color: #666;
}
.dir-view-path .path-item-dropdown-toggle {
margin-top: 2px; margin-top: 2px;
margin-left: 2px;
} }
.dir-view-path .path-item-drop { .dir-view-path .path-item-drop {