From 83e810e2536e2557359e55f6cc9c2305a7fb536e Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Fri, 9 Jul 2010 21:16:53 +0000 Subject: [PATCH] Avatars resizing fixed --- Builder/IISMainHandler/build.txt | 2 +- static/css/global.css | 6 ++++++ templates/Full/elems/UserInfoBar.xslt | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index 02d9616..b775c5e 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -697 \ No newline at end of file +699 \ No newline at end of file diff --git a/static/css/global.css b/static/css/global.css index c4bf9bc..e8dad68 100644 --- a/static/css/global.css +++ b/static/css/global.css @@ -84,4 +84,10 @@ pre } .warning { background-color:red; +} +.avatar { + max-height:80px; + height:expression((this.scrollHeight >= 80) ? '80px' : 'auto'); + max-width:80px; + width:expression((this.scrollHeight >= 80) ? '80px' : 'auto'); } \ No newline at end of file diff --git a/templates/Full/elems/UserInfoBar.xslt b/templates/Full/elems/UserInfoBar.xslt index d1a471a..b3c8024 100644 --- a/templates/Full/elems/UserInfoBar.xslt +++ b/templates/Full/elems/UserInfoBar.xslt @@ -29,7 +29,7 @@ - + /Upload/Item//