Fix top margin of titles

This commit is contained in:
Naoki Takezoe
2016-05-29 21:17:29 +09:00
parent e36d0f65d6
commit ecbe7228b9
4 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@
<div class="edit-title pull-right" style="display: none;">
<a class="btn btn-success" href="#" id="update">Save</a> <a class="btn btn-default" href="#" id="cancel">Cancel</a>
</div>
<h1>
<h1 class="body-title">
<span class="show-title">
<span id="show-title">@issue.title</span>
<span class="muted">#@issue.issueId</span>

View File

@@ -6,7 +6,7 @@
@import gitbucket.core.view.helpers._
@html.main(s"${repository.owner}/${repository.name}", Some(repository)) {
@html.menu("fork", repository){
<h1>
<h1 class="body-title">
Forked repositories
@if(loginAccount.isEmpty){
<a href="@path/signin?redirect=@urlEncode(s"${path}/${repository.owner}/${repository.name}")" class="btn btn-success">Fork</a>

View File

@@ -17,7 +17,7 @@
<a class="btn btn-success" href="@url(repository)/wiki/_new">New Page</a>
</div>
}
<h1 class="wiki-title">@pageName</h1>
<h1 class="body-title">@pageName</h1>
<div>
<span class="muted"><strong>@page.committer</strong> edited this page @helper.html.datetimeago(page.time)</span>
</div>

View File

@@ -1093,7 +1093,7 @@ div.pullreq-info {
/****************************************************************************/
/* Wiki */
/****************************************************************************/
h1.wiki-title {
h1.body-title {
margin-top: 0px;
}