mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-10 07:25:50 +01:00
Fix width and font of the dropzone
This commit is contained in:
@@ -29,7 +29,10 @@ $(function(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Adjust clickable area width
|
// Adjust clickable area width
|
||||||
$('#@textareaId').next('div.clickable').css('width', ($('#@textareaId').width() + 18) + 'px');
|
$('#@textareaId').next('div.clickable').css({
|
||||||
|
'width': ($('#@textareaId').width() + 18) + 'px',
|
||||||
|
'font-size': '13px'
|
||||||
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
@import context._
|
@import context._
|
||||||
<span id="error-edit-content-@commentId" class="error"></span>
|
<span id="error-edit-content-@commentId" class="error"></span>
|
||||||
@helper.html.attached(owner, repository){
|
@helper.html.attached(owner, repository){
|
||||||
<textarea id="edit-content-@commentId">@content</textarea>
|
<textarea id="edit-content-@commentId" class="form-control">@content</textarea>
|
||||||
}
|
}
|
||||||
<div>
|
<div>
|
||||||
<input type="button" id="cancel-comment-@commentId" class="btn btn-lg btn-danger" value="Cancel"/>
|
<input type="button" id="cancel-comment-@commentId" class="btn btn-lg btn-danger" value="Cancel"/>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
@(content: Option[String], issueId: Int, owner: String, repository: String)(implicit context: gitbucket.core.controller.Context)
|
@(content: Option[String], issueId: Int, owner: String, repository: String)(implicit context: gitbucket.core.controller.Context)
|
||||||
@import context._
|
@import context._
|
||||||
@helper.html.attached(owner, repository){
|
@helper.html.attached(owner, repository){
|
||||||
<textarea id="edit-content">@content.getOrElse("")</textarea>
|
<textarea id="edit-content" class="form-control">@content.getOrElse("")</textarea>
|
||||||
}
|
}
|
||||||
<div>
|
<div>
|
||||||
<input type="button" id="cancel-issue" class="btn btn-lg btn-danger" value="Cancel"/>
|
<input type="button" id="cancel-issue" class="btn btn-lg btn-danger" value="Cancel"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user