diff --git a/src/main/twirl/helper/attached.scala.html b/src/main/twirl/helper/attached.scala.html
index 809d060..a7a36f2 100644
--- a/src/main/twirl/helper/attached.scala.html
+++ b/src/main/twirl/helper/attached.scala.html
@@ -1,13 +1,13 @@
@(owner: String, repository: String)(textarea: Html)(implicit context: app.Context)
@import context._
-
+
@textarea
- Attach images by dragging & dropping, or selecting them.
+
Attach images by dragging & dropping, or selecting them.
@defining("(id=\")([\\w\\-]*)(\")".r.findFirstMatchIn(textarea.body).map(_.group(2))){ textareaId =>
}
diff --git a/src/main/webapp/assets/common/css/gitbucket.css b/src/main/webapp/assets/common/css/gitbucket.css
index 272eae1..eef2d04 100644
--- a/src/main/webapp/assets/common/css/gitbucket.css
+++ b/src/main/webapp/assets/common/css/gitbucket.css
@@ -671,6 +671,26 @@
border-radius: 5px;
}
+div.attachable {
+ margin-bottom: 10px;
+}
+
+div.attachable textarea {
+ margin-bottom: 0px;
+ border-bottom: 1px dashed #ccc;
+ -webkit-border-radius: 0px;
+ -moz-border-radius: 0px;
+ border-radius: 0px;
+}
+
+div.attachable div {
+ padding: 2px;
+ border-left: 1px solid #ccc;
+ border-right: 1px solid #ccc;
+ border-bottom: 1px solid #ccc;
+ background-color: white;
+}
+
/****************************************************************************/
/* Pull Request */
/****************************************************************************/