Oracle (ex_ioracle) wrote in changelog,
Oracle
ex_ioracle
changelog

[livejournal] r17613: LJSUP-7241: Userpic is stretched in head...

Committer: skomarov
LJSUP-7241: Userpic is stretched in header if picture has width Y x 1px
U   trunk/htdocs/stc/controlstrip.css
U   trunk/htdocs/stc/ie.css
Modified: trunk/htdocs/stc/controlstrip.css
===================================================================
--- trunk/htdocs/stc/controlstrip.css	2010-10-26 08:36:15 UTC (rev 17612)
+++ trunk/htdocs/stc/controlstrip.css	2010-10-26 08:46:27 UTC (rev 17613)
@@ -99,11 +99,14 @@
 }
 
 /* First cell */
-#lj_controlstrip_userpic
-{
-    vertical-align: top;
-    width: 43px;
-}
+#lj_controlstrip_userpic {
+	vertical-align: top;
+	width: 43px;
+	}
+	#lj_controlstrip_userpic IMG {
+		max-width: 43px;
+		max-height: 43px;
+		}
 
 /* Second cell */
 #lj_controlstrip_user

Modified: trunk/htdocs/stc/ie.css
===================================================================
--- trunk/htdocs/stc/ie.css	2010-10-26 08:36:15 UTC (rev 17612)
+++ trunk/htdocs/stc/ie.css	2010-10-26 08:46:27 UTC (rev 17613)
@@ -265,7 +265,8 @@
 /* Max width & max height
 -----------------------------------------------*/
 *HTML .lj_qotd_entry_userpic .userpic-img,
-*HTML .appwidget-recentcomments .userpic-img {
+*HTML .appwidget-recentcomments .userpic-img,
+*HTML #lj_controlstrip_userpic IMG {
 	zoom:expression(
 			function(t){
 				t.runtimeStyle.zoom = 1;

Tags: css, ioracle, livejournal
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