kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2010-07-25 11:11 am

[dw-free] entries in Brittle layout force square userpics

[commit: http://hg.dwscoalition.org/dw-free/rev/80fc5970ffae]

http://bugs.dwscoalition.org/show_bug.cgi?id=2803

Respect aspect ratio of icons in Brittle layout.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/s2layers/brittle/layout.s2
--------------------------------------------------------------------------------
diff -r 57da319d4ba7 -r 80fc5970ffae bin/upgrading/s2layers/brittle/layout.s2
--- a/bin/upgrading/s2layers/brittle/layout.s2	Sun Jul 25 06:02:19 2010 -0500
+++ b/bin/upgrading/s2layers/brittle/layout.s2	Sun Jul 25 06:10:42 2010 -0500
@@ -477,8 +477,8 @@ div.entry div.userpic {
     }
 
 div.entry div.userpic img {
-    width: 70px;
-    height: 70px; /*FIXME -- this shouldn't be hardcoded */
+    width: 64%;
+    height: auto;
     border: 5px solid $*color_navigation_module_background;
     }
 
@@ -693,8 +693,8 @@ div.comment div.userpic {
     }
 
 div.comment div.userpic img {
-    width: 70px;
-    height: 70px; /*FIXME: don't hardcode userpic sizes!*/
+    width: 64%;
+    height: auto;
     border: 5px solid $*color_navigation_module_background;
     }
 
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org