mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-12 08:25:50 +01:00
Fix size of buttons and labels in the branch liost view
This commit is contained in:
@@ -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){
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user