ddl_large ONLY if its meats 1080p (or 1500 h) - Fix)
This commit is contained in:
parent
5becea3a8f
commit
c60693e6e7
@ -91,7 +91,7 @@ class PostHelper extends Rails\ActionView\Helper
|
||||
$li_class = "";
|
||||
|
||||
$ddl_class = "directlink";
|
||||
$ddl_class .= ($post->width > 1920 || $post->height > 1080 )? " largeimg":" smallimg";
|
||||
$ddl_class .= ($post->width > 1920 || $post->height > 1500 )? " largeimg":" smallimg";
|
||||
|
||||
if (!empty($options['similarity'])) {
|
||||
$icon = '<img src="'.$post->service_icon().'" alt="'.$post->service().'" class="service-icon" id="source">';
|
||||
|
Reference in New Issue
Block a user