1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 10:22:46 +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

@@ -104,6 +104,10 @@
.review-side-panel-body .dirent-table-container {
padding-left: 0;
}
.dirent-table-container th {
word-wrap: break-word;
word-break: normal;
}
.review-side-panel-item {
border-bottom: 1px solid #e6e6dd;
padding: 1em 0;
@@ -214,3 +218,9 @@
padding: 0.1rem 0.25rem;
}
}
@media (max-width: 992px) {
.review-side-panel, .dirent-table-container td {
font-size: 12px !important;
}
}

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