Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
Project: Fix does not apply width select2 dropdown in create project …
Browse files Browse the repository at this point in the history
…and project setting page
  • Loading branch information
insanehong committed Apr 7, 2015
1 parent e4acd2e commit 1868e84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/project/create.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</label>
</dt>
<dd>
<select id="project-owner" name="owner" data-toggle="select2" data-format="user" class="mb10">
<select id="project-owner" name="owner" data-toggle="select2" data-format="user" class="mb10" style="min-width: 220px;">
<option data-type="user"
data-avatar-url="@UserApp.currentUser().avatarUrl"
value="@UserApp.currentUser().loginId">
Expand Down
2 changes: 1 addition & 1 deletion app/views/project/setting.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<div class="cu-label vmiddle">@Messages("code.branches.defaultBranch")</div>
<div class="cu-desc">
<select id="project-default-branch" name="defaultBranch"
data-toggle="select2" data-format="branch" data-dropdown-css-class="branches">
data-toggle="select2" data-format="branch" data-dropdown-css-class="branches" style="min-width: 220px;">
@for(branchName <- branches if Branches.itemType(branchName).equals("branch")){
<option value="@branchName"
@if(branchItemName(branchName) == branchItemName(project.defaultBranch)){ selected }>
Expand Down

0 comments on commit 1868e84

Please sign in to comment.