mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-03 12:05:59 +01:00
Fix layout of branch selector (#3416)
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
@gitbucket.core.helper.html.dropdown(
|
@gitbucket.core.helper.html.dropdown(
|
||||||
value = if(branch.length == 40) branch.substring(0, 10) else branch,
|
value = if(branch.length == 40) branch.substring(0, 10) else branch,
|
||||||
prefix = if(repository.branchList.contains(branch)) "branch" else if (repository.tags.map(_.name).contains(branch)) "tag" else "tree",
|
prefix = if(repository.branchList.contains(branch)) "branch" else if (repository.tags.map(_.name).contains(branch)) "tag" else "tree",
|
||||||
style = "min-width: 200px;",
|
|
||||||
maxValueWidth = "200px"
|
maxValueWidth = "200px"
|
||||||
) {
|
) {
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
Reference in New Issue
Block a user