diff options
author | Tony Fung <ffchung2002@yahoo.com.hk> | 2012-06-05 11:20:31 +0800 |
---|---|---|
committer | Tony Fung <ffchung2002@yahoo.com.hk> | 2012-06-05 11:20:31 +0800 |
commit | 3fd5f4cc87603d7de773bb44f498d5d8ffa94986 (patch) | |
tree | 902551c4ed6d58347a3e628bdea82ddfc9a8c092 /modules | |
parent | 79c00f080ea193ef88f601a6523926d281c39cf0 (diff) |
CSS Style Update to match with other view
Diffstat (limited to 'modules')
-rw-r--r-- | modules/search/views/search.html.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/search/views/search.html.php b/modules/search/views/search.html.php index 3436a00c..db672da2 100644 --- a/modules/search/views/search.html.php +++ b/modules/search/views/search.html.php @@ -26,10 +26,10 @@ <? $item_class = $item->is_album() ? "g-album" : "g-photo" ?> <li class="g-item <?= $item_class ?>"> <a href="<?= $item->url() ?>"> - <?= $item->thumb_img() ?> - <p> + <?= $item->thumb_img(array("class" => "g-thumbnail")) ?> + <p><h2><span class="<?= $item_class ?>"></span> <?= html::purify(text::limit_chars($item->title, 32, "…")) ?> - </p> + </h2></p> <div> <?= nl2br(html::purify(text::limit_chars($item->description, 64, "…"))) ?> </div> |