Henry Lyne (henrylyne) wrote in changelog,
Henry Lyne
henrylyne
changelog

[ljcom] r7617: Fix display of narrow userpics that scal...

Committer: henrylyne
Fix display of narrow userpics that scale up to 60px width, and then have greater than 60px height.

U   trunk/htdocs/stc/widgets/journalspotlight-home.css
U   trunk/htdocs/stc/widgets/journalspotlight.css
Modified: trunk/htdocs/stc/widgets/journalspotlight-home.css
===================================================================
--- trunk/htdocs/stc/widgets/journalspotlight-home.css	2009-08-31 10:58:16 UTC (rev 7616)
+++ trunk/htdocs/stc/widgets/journalspotlight-home.css	2009-08-31 15:14:54 UTC (rev 7617)
@@ -118,6 +118,8 @@
 }
 .appwidget-journalspotlight span.userpic {
     float: left;
+    max-height: 60px;
+    overflow: hidden;
 }
 .appwidget-journalspotlight span.userpic img {
     width: 60px;

Modified: trunk/htdocs/stc/widgets/journalspotlight.css
===================================================================
--- trunk/htdocs/stc/widgets/journalspotlight.css	2009-08-31 10:58:16 UTC (rev 7616)
+++ trunk/htdocs/stc/widgets/journalspotlight.css	2009-08-31 15:14:54 UTC (rev 7617)
@@ -114,6 +114,8 @@
 }
 .appwidget-journalspotlight span.userpic {
     float: left;
+    max-height: 60px;
+    overflow: hidden;
 }
 .appwidget-journalspotlight span.userpic img {
     width: 60px;

Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments