[ext/reverse_search_links] apply style directly to the link, no matter where it is positioned
This commit is contained in:
parent
38af9eb0c4
commit
f0e8bd9ee1
2 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,3 @@
|
||||||
#Reverse_Image_Searchmain a,
|
.reverse_image_link {
|
||||||
#Reverse_Image_Searchleft a {
|
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@ class ReverseSearchLinksTheme extends Themelet
|
||||||
foreach($links as $name => $link) {
|
foreach($links as $name => $link) {
|
||||||
if (in_array($name, $enabled_services)) {
|
if (in_array($name, $enabled_services)) {
|
||||||
$icon_link = make_link("/ext/reverse_search_links/icons/" . strtolower($name) . ".ico");
|
$icon_link = make_link("/ext/reverse_search_links/icons/" . strtolower($name) . ".ico");
|
||||||
$html .= "<a href='$link' rel='nofollow'><img title='Search with $name' src='$icon_link' alt='$name icon'></a>";
|
$html .= "<a href='$link' class='reverse_image_link' rel='nofollow'><img title='Search with $name' src='$icon_link' alt='$name icon'></a>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue