[PATCH] frontend: make all html tags to have the same left-padding

Pavel Raiskup praiskup at redhat.com
Tue Aug 19 14:12:49 UTC 2014


Previously, headers on /coprs/ URI got sticked absolutely to left:
https://praiskup.fedorapeople.org/persist/bugreports/copr-left-sticking-h1.png
---
 frontend/coprs_frontend/coprs/static/copr.css | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/frontend/coprs_frontend/coprs/static/copr.css b/frontend/coprs_frontend/coprs/static/copr.css
index c697ec4..2e7dcd4 100644
--- a/frontend/coprs_frontend/coprs/static/copr.css
+++ b/frontend/coprs_frontend/coprs/static/copr.css
@@ -163,9 +163,9 @@ a.coprs-list {
   display: block;
 }
 
-div.copr p {
-  padding-left: 1em;
-  padding-right: 1em;
+div.copr p, div.copr h1, div.copr h2, div.copr h3 {
+  padding-left: 15px;
+  padding-right: 15px;
   margin-top: 0.3em;
   margin-bottom: 0.3em;
 }
@@ -249,7 +249,7 @@ div.pkg-url-list {
 }
 
 div.shift-right {
-  margin-left: 1em;
+  margin-left: 15px;
 }
 
 dt.field-label {
-- 
1.9.3



More information about the copr-devel mailing list