changed how to show a user icon in the project member list

This commit is contained in:
hyung-hwan 2015-01-30 14:08:03 +00:00
parent 802a0bd142
commit 9ff52ef0fa
2 changed files with 6 additions and 1 deletions

View File

@ -97,7 +97,7 @@ $this->load->view (
if ($icon_image) if ($icon_image)
{ {
$icon_src = sprintf ( $icon_src = sprintf (
'<img style="vertical-align:middle;" src="data:%s;base64,%s" alt="" /> ', '<img class="user_icon_img" src="data:%s;base64,%s" alt="" /> ',
mime_content_type($icon_path), mime_content_type($icon_path),
base64_encode($icon_image) base64_encode($icon_image)
); );

View File

@ -484,6 +484,11 @@ pre.prettyprint li.L9 { background: #eee }
-moz-border-radius-topright:2px; -moz-border-radius-topright:2px;
} }
.content .sidebar .box .user_icon_img {
height: 2em;
vertical-align: middle;
}
.content .sidebar .boxtitle { .content .sidebar .boxtitle {
/* title of an infobox */ /* title of an infobox */
font-weight:bold; font-weight:bold;