mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-01 23:38:37 +00:00
Merge pull request #3627 from haiwen/trash-clean-btn
[repo trash] modified ui of 'clean' btn
This commit is contained in:
commit
a3344751a0
@ -31,3 +31,12 @@ body {
|
||||
color: #000;
|
||||
background: #dfdfdf;
|
||||
}
|
||||
.clean {
|
||||
border-color: #ccc;
|
||||
border-radius: 2px;
|
||||
height: 30px;
|
||||
line-height: 28px;
|
||||
font-weight: normal;
|
||||
padding: 0 0.5rem;
|
||||
min-width: 55px;
|
||||
}
|
||||
|
@ -215,7 +215,7 @@ class RepoFolderTrash extends React.Component {
|
||||
<div className="d-flex justify-content-between align-items-center op-bar">
|
||||
<p className="m-0">{gettext('Current path: ')}{showFolder ? this.renderFolderPath() : repoFolderName}</p>
|
||||
{(path == '/' && enableClean && !showFolder) &&
|
||||
<button className="btn btn-secondary" onClick={this.cleanTrash}>{gettext('Clean')}</button>
|
||||
<button className="btn btn-secondary clean" onClick={this.cleanTrash}>{gettext('Clean')}</button>
|
||||
}
|
||||
</div>
|
||||
<Content
|
||||
|
Loading…
Reference in New Issue
Block a user