1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 02:10:24 +00:00

[repo trash] modified ui of 'clean' btn

This commit is contained in:
llj
2019-06-06 15:37:04 +08:00
parent c2efc18ac4
commit 41e52ecafa
2 changed files with 10 additions and 1 deletions

View File

@@ -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;
}

View File

@@ -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