[Bps-public-commit] App-Changeloggr branch, master, updated. cfa741dedbcf2aa2af04da686bcebb6ef37a562b

sartak at bestpractical.com sartak at bestpractical.com
Thu Oct 8 14:56:14 EDT 2009


The branch, master has been updated
       via  cfa741dedbcf2aa2af04da686bcebb6ef37a562b (commit)
      from  ca05d837f1e688dc2d15853ee8a2d1ee89d347f1 (commit)

Summary of changes:
 lib/App/Changeloggr/View.pm     |    2 ++
 share/web/static/css/change.css |    4 ++++
 2 files changed, 6 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit cfa741dedbcf2aa2af04da686bcebb6ef37a562b
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Oct 8 14:56:00 2009 -0400

    Make diffstat smaller

diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index 187f152..733ab4f 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -295,6 +295,8 @@ template '/change/more' => sub {
     my $change = M('Change', id => get('change'));
 
     pre {
+        class is 'diffstat';
+
         my $diffstat = Jifty->web->escape($change->diffstat);
 
         for (['+', 'diffadd'], ['-', 'diffsub']) {
diff --git a/share/web/static/css/change.css b/share/web/static/css/change.css
index c359cc0..ead6782 100644
--- a/share/web/static/css/change.css
+++ b/share/web/static/css/change.css
@@ -82,3 +82,7 @@ iframe.external_source {
   color: #777;
   float: none;
 }
+
+.diffstat {
+  font-size: .8em;
+}

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list