1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-10 00:47:19 +00:00

change dir operation icon style ()

This commit is contained in:
Michael An 2025-02-26 13:05:24 +08:00 committed by GitHub
parent 0035fd0f04
commit a3a609d89d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 4 deletions
frontend/src

View File

@ -300,8 +300,7 @@ class DirOperationToolbar extends React.Component {
onKeyDown={this.onDropdownToggleKeyDown}
data-toggle="dropdown"
>
{this.props.children}
<i className="sf3-font-new sf3-font ml-2"></i>
<i className="sf3-font-new sf3-font"></i>
<i className="sf3-font-down sf3-font path-item-dropdown-toggle"></i>
</DropdownToggle>
<DropdownMenu onMouseMove={this.onDropDownMouseMove} positionFixed={true}>
@ -359,8 +358,7 @@ class DirOperationToolbar extends React.Component {
role="button"
className="path-item"
>
{this.props.children}
<i className="sf3-font-new sf3-font ml-2"></i>
<i className="sf3-font-new sf3-font"></i>
<i className="sf3-font-down sf3-font path-item-dropdown-toggle"></i>
</DropdownToggle>
<DropdownMenu positionFixed={true}>
@ -382,6 +380,7 @@ class DirOperationToolbar extends React.Component {
<Fragment>
{isShowDropdownMenu && (
<div className="dir-operation">
{this.props.children}
{content}
</div>
)}

View File

@ -280,6 +280,11 @@
align-items: center;
}
.dir-view-path .dir-operation>.path-repo-name,
.dir-view-path .dir-operation>.path-file-name {
margin: 0 6px;
}
.dir-view-path .dir-operation.dir-operation-no-dropdown {
margin-left: 6px;
}