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

sartak at bestpractical.com sartak at bestpractical.com
Wed May 20 15:38:42 EDT 2009


The branch, master has been updated
       via  87ee3e2e50ef83816a637f30e07e002fecd06390 (commit)
      from  c772fcfb84fb00bcbaeb7bae5af137d1fe23943e (commit)

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

- Log -----------------------------------------------------------------
commit 87ee3e2e50ef83816a637f30e07e002fecd06390
Author: Shawn M Moore <sartak at gmail.com>
Date:   Wed May 20 15:38:33 2009 -0400

    Make iframe fill the width

diff --git a/lib/App/Changeloggr/View.pm b/lib/App/Changeloggr/View.pm
index bef9778..97007ae 100644
--- a/lib/App/Changeloggr/View.pm
+++ b/lib/App/Changeloggr/View.pm
@@ -179,6 +179,7 @@ template '/change/external_source' => sub {
     my $url = get('url');
 
     iframe {
+        class is 'external_source';
         src is $url;
     };
 };
diff --git a/share/web/static/css/change.css b/share/web/static/css/change.css
index f66ac1f..f6857ce 100644
--- a/share/web/static/css/change.css
+++ b/share/web/static/css/change.css
@@ -58,3 +58,6 @@ ul.change_metadata {
   color: #999;
 }
 
+iframe.external_source {
+    width: 100%;
+}

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



More information about the Bps-public-commit mailing list