From 4e67a9394086a139cf94eabbffd1293a1e5134eb Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Aug 16 2018 10:00:48 +0000 Subject: tidy up rules for the height of comment edit box / preview --- diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css index 417fb9c..bce9b40 100644 --- a/pagure/static/pagure.css +++ b/pagure/static/pagure.css @@ -113,15 +113,11 @@ pre { min-width:99%; } -#preview +/*Set minimum height of the preview box and input + for the tabs when making a comment */ +#preview, .form-control#initial_comment { min-height: 12rem; - padding:1em; -} - -.form-control#initial_comment -{ - min-height: 16rem; } .bodycontent diff --git a/pagure/templates/comment_update.html b/pagure/templates/comment_update.html index 3248ae4..e5ac679 100644 --- a/pagure/templates/comment_update.html +++ b/pagure/templates/comment_update.html @@ -22,7 +22,7 @@ {{- comment.comment -}} -
+
diff --git a/pagure/templates/issue.html b/pagure/templates/issue.html index a92f7f1..e89cef7 100644 --- a/pagure/templates/issue.html +++ b/pagure/templates/issue.html @@ -226,7 +226,7 @@ namespace=repo.namespace, repo=repo.name, issueid=issueid)
-
+