[danbooru] standardise thumbs layout

There's no purpose for the redundant style, class 'thumb' already exists on the child element
This commit is contained in:
discomrade 2024-02-23 08:55:24 +00:00 committed by Shish
parent 8af5b2f3db
commit ddf500199e
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ class CustomIndexTheme extends IndexTheme
$h_query = html_escape($query);
$table = "<div class='shm-image-list' data-query='$h_query'>";
foreach ($images as $image) {
$table .= "\t<span class=\"thumb\">" . $this->build_thumb_html($image) . "</span>\n";
$table .= $this->build_thumb_html($image) . "\n";
}
$table .= "</div>";
return $table;

View file

@ -49,7 +49,7 @@ class CustomIndexTheme extends IndexTheme
$h_query = html_escape($query);
$table = "<div class='shm-image-list' data-query='$h_query'>";
foreach ($images as $image) {
$table .= "\t<span class=\"thumb\">" . $this->build_thumb_html($image) . "</span>\n";
$table .= $this->build_thumb_html($image) . "\n";
}
$table .= "</div>";
return $table;