Fix branch control dropdown

This commit is contained in:
Naoki Takezoe
2015-12-25 10:26:30 +09:00
parent a47404130b
commit 7e1f5aa353
2 changed files with 3 additions and 2 deletions

View File

@@ -10,7 +10,7 @@
prefix = if(branch.length == 40) "tree" else if(repository.branchList.contains(branch)) "branch" else "tree" prefix = if(branch.length == 40) "tree" else if(repository.branchList.contains(branch)) "branch" else "tree"
) { ) {
<li><div id="branch-control-title">Switch branches<button id="branch-control-close" class="pull-right">&times</button></div></li> <li><div id="branch-control-title">Switch branches<button id="branch-control-close" class="pull-right">&times</button></div></li>
<li><input id="branch-control-input" type="text" placeholder="Find or create branch ..."/></li> <li><input id="branch-control-input" type="text" class="form-control input-sm" placeholder="Find or create branch ..."/></li>
@body @body
@if(hasWritePermission) { @if(hasWritePermission) {
<li id="create-branch" style="display: none;"> <li id="create-branch" style="display: none;">

View File

@@ -936,7 +936,8 @@ span.simplified-path {
#branch-control-input { #branch-control-input {
border: solid 1px #ccc; border: solid 1px #ccc;
margin: 10px; margin: 4px;
width: 96%;
} }
.new-branch-name { .new-branch-name {