Снорк (nely_snork) wrote in changelog,
Снорк
nely_snork
changelog

[livejournal] r16334: LJSV-977: Resizing of the mood's pic.

Committer: narefieva
LJSV-977: Resizing of the mood's pic.
U   trunk/htdocs/stc/ie.css
U   trunk/htdocs/stc/lj_base.css
Modified: trunk/htdocs/stc/ie.css
===================================================================
--- trunk/htdocs/stc/ie.css	2010-03-04 10:23:45 UTC (rev 16333)
+++ trunk/htdocs/stc/ie.css	2010-03-04 10:49:57 UTC (rev 16334)
@@ -0,0 +1,20 @@
+/* Width & Height for Moods */
+* html IMG#mood_image_preview  {
+    height: auto;
+    }
+* html IMG.meta-mood-img,
+* html IMG#mood_image_preview {
+	zoom:expression(
+		function(t){
+			if (60 < t.scrollWidth && t.scrollWidth > t.scrollHeight) {
+				t.width = '60';
+			}
+			else if (60 < t.scrollHeight) {
+				t.height = '60';
+			}
+		t.runtimeStyle.zoom = 1;
+	}(this));
+}
+
+
+

Modified: trunk/htdocs/stc/lj_base.css
===================================================================
--- trunk/htdocs/stc/lj_base.css	2010-03-04 10:23:45 UTC (rev 16333)
+++ trunk/htdocs/stc/lj_base.css	2010-03-04 10:49:57 UTC (rev 16334)
@@ -427,3 +427,13 @@
     cursor: pointer;
     }
 
+/* Width & Height for Moods */
+IMG.meta-mood-img,
+IMG#mood_image_preview {
+    max-width: 60px;
+    max-height: 60px;
+    } 
+
+
+
+

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