From c084a5ba735144576cffbdfe3b193fc9fc8e67f8 Mon Sep 17 00:00:00 2001
From: Andrew Patton <andrew@acusti.ca>
Date: Fri, 25 Jul 2014 15:35:47 -0400
Subject: [PATCH] =?UTF-8?q?Style=20finesse=20for=20=E2=80=9CAttachments:?=
 =?UTF-8?q?=E2=80=9D=20list=20in=20issues?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Make `#attached-list` attachment labels wrap, make spacing more
consistent, add hover stats to `.attachment-remove` icon, adjust
padding of labels to compensate for `.attachment-remove` icon
---
 public/css/gogs.css | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/public/css/gogs.css b/public/css/gogs.css
index 361475bd40..aa6d43894a 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -1826,21 +1826,24 @@ body {
 }
 
 #attached {
-    height: 18px;
-    margin: 10px 10px 15px 10px;
+    margin: 10px 0 15px;
 }
 
 #attached-list .label {
+    display: inline-block;
+    vertical-align: top;
     margin-right: 10px;
+    padding-right: 0;
+}
+
+#attached-list .label .attachment-remove {
+    cursor: pointer;
+}
+
+#attached-list .label .attachment-remove:hover {
+    background: #d8d8d8;
 }
 
 #issue-create-form #attached {
     margin-bottom: 0;
 }
-
-#submit-error {
-    display: none;
-    padding: 10px 15px 15px 15px;
-    font-weight: bold;
-    text-align: center;
-}
\ No newline at end of file