diff --git a/codepot/src/codepot/views/project_home.php b/codepot/src/codepot/views/project_home.php index 3d0e507b..abd171a7 100644 --- a/codepot/src/codepot/views/project_home.php +++ b/codepot/src/codepot/views/project_home.php @@ -102,7 +102,7 @@ $this->load->view ( { // old browsers don't support image data URI. $icon_path = CODEPOT_USERICON_DIR . '/' . $icons[$m]; - $icon_image = file_get_contents($icon_path); + $icon_image = @file_get_contents($icon_path); if ($icon_image) { $icon_src = sprintf ( diff --git a/codepot/src/css/common.css b/codepot/src/css/common.css index 7a4f61c5..87ee3a14 100644 --- a/codepot/src/css/common.css +++ b/codepot/src/css/common.css @@ -490,6 +490,8 @@ pre.prettyprint li.L9 { background: #eee } .content .sidebar .box .user_icon_img { height: 2em; vertical-align: middle; + padding-top: 1px; + padding-bottom: 1px; } .content .sidebar .boxtitle {