changeset 4851:508a49a1a02f

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.
author Thomas De Schampheleire <thomas.de_schampheleire@alcatel-lucent.com>
date Sat, 21 Feb 2015 22:45:22 +0100
parents a40824531f68
children e79993216c66
files kallithea/public/css/style.css kallithea/templates/pullrequests/pullrequest_data.html kallithea/templates/pullrequests/pullrequest_show_all.html
diffstat 3 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/css/style.css	Sat Feb 21 22:04:54 2015 +0100
+++ b/kallithea/public/css/style.css	Sat Feb 21 22:45:22 2015 +0100
@@ -4630,9 +4630,6 @@
     background: #eee;
 }
 
-div.pr-title {
-    font-size: 1.6em;
-}
 div.pr-details-title {
     font-size: 1.6em;
     padding: 5px 0px 5px 10px;
--- a/kallithea/templates/pullrequests/pullrequest_data.html	Sat Feb 21 22:04:54 2015 +0100
+++ b/kallithea/templates/pullrequests/pullrequest_data.html	Sat Feb 21 22:45:22 2015 +0100
@@ -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:
--- a/kallithea/templates/pullrequests/pullrequest_show_all.html	Sat Feb 21 22:04:54 2015 +0100
+++ b/kallithea/templates/pullrequests/pullrequest_show_all.html	Sat Feb 21 22:45:22 2015 +0100
@@ -41,7 +41,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_))}