From 9ff52ef0faa5b0e7188f0389e5c3ecdd103b1ac1 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Fri, 30 Jan 2015 14:08:03 +0000 Subject: [PATCH] changed how to show a user icon in the project member list --- codepot/src/codepot/views/project_home.php | 2 +- codepot/src/css/common.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/codepot/src/codepot/views/project_home.php b/codepot/src/codepot/views/project_home.php index 08baf2a2..c8c1788a 100644 --- a/codepot/src/codepot/views/project_home.php +++ b/codepot/src/codepot/views/project_home.php @@ -97,7 +97,7 @@ $this->load->view ( if ($icon_image) { $icon_src = sprintf ( - ' ', + ' ', mime_content_type($icon_path), base64_encode($icon_image) ); diff --git a/codepot/src/css/common.css b/codepot/src/css/common.css index 0d248c1a..7ba51642 100644 --- a/codepot/src/css/common.css +++ b/codepot/src/css/common.css @@ -484,6 +484,11 @@ pre.prettyprint li.L9 { background: #eee } -moz-border-radius-topright:2px; } +.content .sidebar .box .user_icon_img { + height: 2em; + vertical-align: middle; +} + .content .sidebar .boxtitle { /* title of an infobox */ font-weight:bold;