mirror of
https://github.com/haiwen/seahub.git
synced 2025-05-10 00:47:19 +00:00
change dir operation icon style (#7522)
This commit is contained in:
parent
0035fd0f04
commit
a3a609d89d
frontend/src
@ -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>
|
||||
)}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user