1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 09:51:26 +00:00

button style

This commit is contained in:
Michael An
2019-04-17 16:22:06 +08:00
parent b96d4f9884
commit 8d9566ff62
2 changed files with 13 additions and 1 deletions

View File

@@ -796,7 +796,9 @@ class Draft extends React.Component {
<div className="button-group">
{this.renderDiffButton()}
{(draftFileExists && !freezePublish) &&
<a href={draftLink} className="mx-xl-1"><Button color="secondary">{gettext('Edit Draft')}</Button></a>
<a href={draftLink} className="mx-1">
<Button className="file-operation-btn" color="secondary">{gettext('Edit Draft')}</Button>
</a>
}
{canPublish &&
<button