-
+
@helper.html.preview(
repository = repository,
content = "",
@@ -23,7 +23,7 @@
enableLineBreaks = true,
enableTaskList = true,
hasWritePermission = hasWritePermission,
- style = "width: 680px; height: 200px; max-height: 250px;",
+ style = "height: 200px; max-height: 250px;",
elastic = true
)
diff --git a/src/main/twirl/gitbucket/core/pulls/compare.scala.html b/src/main/twirl/gitbucket/core/pulls/compare.scala.html
index 15d4015..36ad7ee 100644
--- a/src/main/twirl/gitbucket/core/pulls/compare.scala.html
+++ b/src/main/twirl/gitbucket/core/pulls/compare.scala.html
@@ -59,7 +59,7 @@
-
+
@helper.html.preview(
repository = repository,
content = "",
@@ -68,7 +68,7 @@
enableLineBreaks = true,
enableTaskList = true,
hasWritePermission = true,
- style = "width: 680px; height: 200px;"
+ style = "height: 200px;"
)
diff --git a/src/main/twirl/gitbucket/core/repo/commentform.scala.html b/src/main/twirl/gitbucket/core/repo/commentform.scala.html
index 2535212..ef4f58e 100644
--- a/src/main/twirl/gitbucket/core/repo/commentform.scala.html
+++ b/src/main/twirl/gitbucket/core/repo/commentform.scala.html
@@ -23,7 +23,7 @@
enableLineBreaks = true,
enableTaskList = true,
hasWritePermission = hasWritePermission,
- style = "width: 635px; height: 100px; max-height: 150px;",
+ style = "height: 100px; max-height: 150px;",
elastic = true
)
diff --git a/src/main/webapp/assets/common/css/gitbucket.css b/src/main/webapp/assets/common/css/gitbucket.css
index 2d92e75..3661caf 100644
--- a/src/main/webapp/assets/common/css/gitbucket.css
+++ b/src/main/webapp/assets/common/css/gitbucket.css
@@ -1025,7 +1025,6 @@
div.issue-comment-box textarea {
- width: 650px;
height: 100px;
max-height: 300px;
}