mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 10:22:46 +00:00
adjust button group (#3147)
This commit is contained in:
@@ -298,9 +298,7 @@ class MutipleDirOperationToolbar extends React.Component {
|
|||||||
<Button className="secondary group-op-item action-icon sf2-icon-copy" title={gettext('Copy')} onClick={this.onCopyToggle}></Button>
|
<Button className="secondary group-op-item action-icon sf2-icon-copy" title={gettext('Copy')} onClick={this.onCopyToggle}></Button>
|
||||||
<Button className="secondary group-op-item action-icon sf2-icon-delete" title={gettext('Delete')} onClick={this.onItemsDelete}></Button>
|
<Button className="secondary group-op-item action-icon sf2-icon-delete" title={gettext('Delete')} onClick={this.onItemsDelete}></Button>
|
||||||
<Button className="secondary group-op-item action-icon sf2-icon-download" title={gettext('Download')} onClick={this.onItemsDownload}></Button>
|
<Button className="secondary group-op-item action-icon sf2-icon-download" title={gettext('Download')} onClick={this.onItemsDownload}></Button>
|
||||||
</ButtonGroup>
|
{this.props.selectedDirentList.length > 0 &&
|
||||||
{
|
|
||||||
this.props.selectedDirentList.length > 0 &&
|
|
||||||
<DirentsMenu
|
<DirentsMenu
|
||||||
dirents={this.props.selectedDirentList}
|
dirents={this.props.selectedDirentList}
|
||||||
currentRepoInfo={this.props.currentRepoInfo}
|
currentRepoInfo={this.props.currentRepoInfo}
|
||||||
@@ -308,6 +306,7 @@ class MutipleDirOperationToolbar extends React.Component {
|
|||||||
onMenuItemClick={this.onMenuItemClick}
|
onMenuItemClick={this.onMenuItemClick}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
</ButtonGroup>
|
||||||
</div>
|
</div>
|
||||||
{this.state.isMoveDialogShow &&
|
{this.state.isMoveDialogShow &&
|
||||||
<MoveDirentDialog
|
<MoveDirentDialog
|
||||||
|
@@ -3,8 +3,13 @@
|
|||||||
margin-left: -9px;
|
margin-left: -9px;
|
||||||
padding: 4px 15px;
|
padding: 4px 15px;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
border-top-right-radius: 2px;
|
border-top-right-radius: 2px !important;
|
||||||
border-bottom-right-radius: 2px;
|
border-bottom-right-radius: 2px !important;
|
||||||
border-bottom-left-radius: 0;
|
border-bottom-left-radius: 0;
|
||||||
border-top-left-radius: 0;
|
border-top-left-radius: 0;
|
||||||
|
width: 46px;
|
||||||
|
}
|
||||||
|
.dirents-more-menu:hover {
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1px solid #ccc;
|
||||||
}
|
}
|
Reference in New Issue
Block a user