Fix branch selector presentation
1 parent 332a1b4 commit 4bbb22f73b2d99e62fe0165df8813342a1ab8bf3
@Naoki Takezoe Naoki Takezoe authored on 10 Dec 2017
Showing 2 changed files
View
2
■■■
src/main/twirl/gitbucket/core/helper/branchcontrol.scala.html
@body
@if(hasWritePermission) {
<li id="create-branch" style="display: none;">
<a><form action="@helpers.url(repository)/branches" method="post" style="margin: 0;">
<span class="new-branch-name">Create branch:&nbsp;<span class="new-branch"></span></span>
<span class="strong">Create branch:&nbsp;<span class="new-branch"></span></span>
<br><span style="padding-left: 17px;">from&nbsp;'@branch'</span>
<input type="hidden" name="new">
<input type="hidden" name="from" value="@branch">
</form></a>
View
6
src/main/webapp/assets/common/css/gitbucket.css
font-weight: bold;
line-height: 15px;
}
 
.new-branch-name {
font-weight: bold;
font-size: 1.2em;
padding-left: 16px;
}
 
.btn-pullrequest-branch{
background: none;
border: 1px solid #0088cc;
color: #0088cc;