diff options
author | Bharat Mediratta <bharat@menalto.com> | 2012-06-05 13:49:16 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2012-06-05 13:49:16 -0700 |
commit | d0e51faa9a4ea8b9c9d108a8c89fe33714111e6c (patch) | |
tree | 902551c4ed6d58347a3e628bdea82ddfc9a8c092 /modules | |
parent | 79c00f080ea193ef88f601a6523926d281c39cf0 (diff) | |
parent | 3fd5f4cc87603d7de773bb44f498d5d8ffa94986 (diff) |
Merge pull request #69 from ffchung/patch-4
CSS Style Update to match with other view
Fixes #1877
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> |