mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-17 19:00:39 +01:00
Fix width of previewable editing forms
This commit is contained in:
@@ -27,12 +27,6 @@ $(function(){
|
|||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Adjust clickable area width
|
|
||||||
$('#@textareaId').next('div.clickable').css({
|
|
||||||
'width': ($('#@textareaId').width() + 18) + 'px',
|
|
||||||
'font-size': '13px'
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<div class="panel panel-default issue-box">
|
<div class="panel panel-default issue-box">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<span id="error-title" class="error"></span>
|
<span id="error-title" class="error"></span>
|
||||||
<input type="text" id="issue-title" name="title" class="form-control input-lg" value="" placeholder="Title" style="width: 680px;" autofocus/>
|
<input type="text" id="issue-title" name="title" class="form-control input-lg" value="" placeholder="Title" autofocus/>
|
||||||
@helper.html.preview(
|
@helper.html.preview(
|
||||||
repository = repository,
|
repository = repository,
|
||||||
content = "",
|
content = "",
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
enableLineBreaks = true,
|
enableLineBreaks = true,
|
||||||
enableTaskList = true,
|
enableTaskList = true,
|
||||||
hasWritePermission = hasWritePermission,
|
hasWritePermission = hasWritePermission,
|
||||||
style = "width: 680px; height: 200px; max-height: 250px;",
|
style = "height: 200px; max-height: 250px;",
|
||||||
elastic = true
|
elastic = true
|
||||||
)
|
)
|
||||||
<div class="align-right">
|
<div class="align-right">
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
<div class="panel panel-default issue-box">
|
<div class="panel panel-default issue-box">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<span class="error" id="error-title"></span>
|
<span class="error" id="error-title"></span>
|
||||||
<input type="text" name="title" class="form-control input-lg" style="width: 680px" placeholder="Title"/>
|
<input type="text" name="title" class="form-control input-lg" placeholder="Title"/>
|
||||||
@helper.html.preview(
|
@helper.html.preview(
|
||||||
repository = repository,
|
repository = repository,
|
||||||
content = "",
|
content = "",
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
enableLineBreaks = true,
|
enableLineBreaks = true,
|
||||||
enableTaskList = true,
|
enableTaskList = true,
|
||||||
hasWritePermission = true,
|
hasWritePermission = true,
|
||||||
style = "width: 680px; height: 200px;"
|
style = "height: 200px;"
|
||||||
)
|
)
|
||||||
<input type="hidden" name="targetUserName" value="@originRepository.owner"/>
|
<input type="hidden" name="targetUserName" value="@originRepository.owner"/>
|
||||||
<input type="hidden" name="targetBranch" value="@originId"/>
|
<input type="hidden" name="targetBranch" value="@originId"/>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
enableLineBreaks = true,
|
enableLineBreaks = true,
|
||||||
enableTaskList = true,
|
enableTaskList = true,
|
||||||
hasWritePermission = hasWritePermission,
|
hasWritePermission = hasWritePermission,
|
||||||
style = "width: 635px; height: 100px; max-height: 150px;",
|
style = "height: 100px; max-height: 150px;",
|
||||||
elastic = true
|
elastic = true
|
||||||
)
|
)
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1025,7 +1025,6 @@ div.commit-comment-box > div.panel-body {
|
|||||||
|
|
||||||
|
|
||||||
div.issue-comment-box textarea {
|
div.issue-comment-box textarea {
|
||||||
width: 650px;
|
|
||||||
height: 100px;
|
height: 100px;
|
||||||
max-height: 300px;
|
max-height: 300px;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user