[PATCH 3 of 5 v2] pullrequest overview: sanitize display style

Thomas De Schampheleire patrickdepinguin at gmail.com
Tue Feb 24 16:36:05 EST 2015


# HG changeset patch
# User Thomas De Schampheleire <thomas.de_schampheleire at alcatel-lucent.com>
# Date 1424555122 -3600
#      Sat Feb 21 22:45:22 2015 +0100
# Node ID 35d2e797a6884547065c88d5b671f29aff2c5773
# Parent  fe50f1415d66f5be1cc05cca0b103d3a502fe6af
pullrequest overview: sanitize display style

Remove the unnecessarily large font size on the pullrequest overview to line
up with the styling of 'my pullrequests'.

Additionally, add some whitespace between the 'show closed PRs' link and the
actual list.

diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css
--- a/kallithea/public/css/style.css
+++ b/kallithea/public/css/style.css
@@ -4624,9 +4624,6 @@
     background: #eee;
 }
 
-div.pr-title {
-    font-size: 1.6em;
-}
 div.pr-details-title {
     font-size: 1.6em;
     padding: 5px 0px 5px 10px;
diff --git a/kallithea/templates/pullrequests/pullrequest_data.html b/kallithea/templates/pullrequests/pullrequest_data.html
--- a/kallithea/templates/pullrequests/pullrequest_data.html
+++ b/kallithea/templates/pullrequests/pullrequest_data.html
@@ -2,7 +2,7 @@
 
 % for pr in c.pullrequests_pager:
   <div class="pr ${'pr-closed' if pr.is_closed() else ''}">
-    <div class="pr-title">
+    <div>
     %if pr.last_review_status:
       <i class="icon-circle changeset-status-${pr.last_review_status}" title="${_("Someone voted: %s") % pr.last_review_status}"></i>
     %else:
diff --git a/kallithea/templates/pullrequests/pullrequest_show_all.html b/kallithea/templates/pullrequests/pullrequest_show_all.html
--- a/kallithea/templates/pullrequests/pullrequest_show_all.html
+++ b/kallithea/templates/pullrequests/pullrequest_show_all.html
@@ -44,7 +44,7 @@
         </ul>
     </div>
 
-    <div style="margin: 0 20px">
+    <div style="margin: 0 20px 10px 20px">
         <div>
         %if c.closed:
             ${h.link_to(_('Hide closed pull requests (only show open pull requests)'), h.url('pullrequest_show_all',repo_name=c.repo_name,from_=c.from_))}


More information about the kallithea-general mailing list