Fix size of buttons and labels in the branch liost view

This commit is contained in:
Naoki Takezoe
2017-05-25 16:37:50 +09:00
parent 042e76348a
commit 1eab821f9a
2 changed files with 9 additions and 2 deletions

View File

@@ -57,13 +57,13 @@
helpers.urlEncode(parent) + ":" + helpers.encodeRefName(repository.repository.defaultBranch)
}.getOrElse {
helpers.encodeRefName(repository.repository.defaultBranch)
}}...@{helpers.encodeRefName(branch.name)}?expand=1" class="btn btn-default">New Pull request</a>
}}...@{helpers.encodeRefName(branch.name)}?expand=1" class="btn btn-default btn-sm">New Pull request</a>
} else {
<a href="@helpers.url(repository)/compare/@{repository.repository.parentUserName.map { parent =>
helpers.urlEncode(parent) + ":" + helpers.encodeRefName(repository.repository.defaultBranch)
}.getOrElse {
helpers.encodeRefName(repository.repository.defaultBranch)
}}...@{helpers.encodeRefName(branch.name)}" class="btn btn-default">Compare</a>
}}...@{helpers.encodeRefName(branch.name)}" class="btn btn-default btn-sm">Compare</a>
}
}
@if(hasWritePermission){

View File

@@ -479,6 +479,13 @@ table.branches>thead>tr>th, table.branches>tbody>tr>td{
.branches .a-b-count-widget .count-half .count-value{
padding: 0 3px;
}
.branches .branch-a-b-count span.badge {
font-size: 100%;
}
div.branch-action a.label {
font-size: 100%;
}
td#upload-td {
padding: 0px;