From f0e8bd9ee1b6e80d211cd4df9406a3bbfd4321b1 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 6 Sep 2023 12:16:22 +0100 Subject: [PATCH] [ext/reverse_search_links] apply style directly to the link, no matter where it is positioned --- ext/reverse_search_links/style.css | 3 +-- ext/reverse_search_links/theme.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ext/reverse_search_links/style.css b/ext/reverse_search_links/style.css index 5ad622c02..36cab20aa 100644 --- a/ext/reverse_search_links/style.css +++ b/ext/reverse_search_links/style.css @@ -1,4 +1,3 @@ -#Reverse_Image_Searchmain a, -#Reverse_Image_Searchleft a { +.reverse_image_link { padding: 0 5px; } diff --git a/ext/reverse_search_links/theme.php b/ext/reverse_search_links/theme.php index bdaa0307c..ffe79d46e 100644 --- a/ext/reverse_search_links/theme.php +++ b/ext/reverse_search_links/theme.php @@ -25,7 +25,7 @@ public function reverse_search_block(Page $page, Image $image) foreach($links as $name => $link) { if (in_array($name, $enabled_services)) { $icon_link = make_link("/ext/reverse_search_links/icons/" . strtolower($name) . ".ico"); - $html .= "$name icon"; + $html .= "$name icon"; } }