Fix editor styles

This commit is contained in:
Naoki Takezoe
2016-03-24 16:53:22 +09:00
parent ae32016856
commit b66812d76c
3 changed files with 6 additions and 6 deletions

View File

@@ -12,7 +12,7 @@
<span class="muted small strong">Labels</span> <span class="muted small strong">Labels</span>
@if(hasWritePermission){ @if(hasWritePermission){
<div class="pull-right"> <div class="pull-right">
@helper.html.dropdown(right = true) { @helper.html.dropdown("Edit", right = true) {
@labels.map { label => @labels.map { label =>
<li> <li>
<a href="#" class="toggle-label" data-label-id="@label.labelId"> <a href="#" class="toggle-label" data-label-id="@label.labelId">
@@ -37,7 +37,7 @@
<span class="muted small strong">Milestone</span> <span class="muted small strong">Milestone</span>
@if(hasWritePermission){ @if(hasWritePermission){
<div class="pull-right"> <div class="pull-right">
@helper.html.dropdown(right = true) { @helper.html.dropdown("Edit", right = true) {
<li><a href="javascript:void(0);" class="milestone" data-id=""><i class="octicon octicon-x"></i> Clear this milestone</a></li> <li><a href="javascript:void(0);" class="milestone" data-id=""><i class="octicon octicon-x"></i> Clear this milestone</a></li>
@milestones.filter(_._1.closedDate.isEmpty).map { case (milestone, _, _) => @milestones.filter(_._1.closedDate.isEmpty).map { case (milestone, _, _) =>
<li> <li>
@@ -89,7 +89,7 @@
<span class="muted small strong">Assignee</span> <span class="muted small strong">Assignee</span>
@if(hasWritePermission){ @if(hasWritePermission){
<div class="pull-right"> <div class="pull-right">
@helper.html.dropdown(right = true) { @helper.html.dropdown("Edit", right = true) {
<li><a href="javascript:void(0);" class="assign" data-name=""><i class="octicon octicon-x"></i> Clear assignee</a></li> <li><a href="javascript:void(0);" class="assign" data-name=""><i class="octicon octicon-x"></i> Clear assignee</a></li>
@collaborators.map { collaborator => @collaborators.map { collaborator =>
<li> <li>

View File

@@ -18,7 +18,7 @@
@pathList.zipWithIndex.map { case (section, i) => @pathList.zipWithIndex.map { case (section, i) =>
<a href="@url(repository)/tree/@encodeRefName(branch)/@pathList.take(i + 1).mkString("/")">@section</a> / <a href="@url(repository)/tree/@encodeRefName(branch)/@pathList.take(i + 1).mkString("/")">@section</a> /
} }
<input type="text" name="newFileName" id="newFileName" placeholder="Name your file..." value="@fileName"/> <input type="text" name="newFileName" id="newFileName" class="form-control" placeholder="Name your file..." value="@fileName"/>
<input type="hidden" name="oldFileName" id="oldFileName" value="@fileName"/> <input type="hidden" name="oldFileName" id="oldFileName" value="@fileName"/>
<input type="hidden" name="branch" id="branch" value="@branch"/> <input type="hidden" name="branch" id="branch" value="@branch"/>
<input type="hidden" name="path" id="path" value="@pathList.mkString("/")"/> <input type="hidden" name="path" id="path" value="@pathList.mkString("/")"/>
@@ -27,7 +27,7 @@
<tr> <tr>
<th> <th>
<div class="pull-right"> <div class="pull-right">
<select id="wrap" class="form-control" style="margin-bottom: 0px; height: 26px; padding: 0px;"> <select id="wrap" class="form-control" style="margin-bottom: 0px; padding: 0px;">
<optgroup label="Line Wrap Mode"> <optgroup label="Line Wrap Mode">
<option value="false">No wrap</option> <option value="false">No wrap</option>
<option value="true">Soft wrap</option> <option value="true">Soft wrap</option>

View File

@@ -883,7 +883,7 @@ div.issue-participants {
div.issue-comment-box, div.commit-comment-box { div.issue-comment-box, div.commit-comment-box {
margin-bottom: 15px; margin-bottom: 15px;
margin-left: 70px; margin-left: 70px;
max-width: 820px; /*max-width: 820px;*/
/*padding: 8px;*/ /*padding: 8px;*/
} }