From ef55b8c4ae8c774346ae3db79d1d541127264cac Mon Sep 17 00:00:00 2001 From: Nebbie Zebbie Date: Mon, 6 Jul 2020 07:06:24 +0000 Subject: [PATCH] Fix tag hover dropdown being offset --- lib/philomena_web/templates/tag/_tag.html.slime | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena_web/templates/tag/_tag.html.slime b/lib/philomena_web/templates/tag/_tag.html.slime index 02808559..3c6cc1cd 100644 --- a/lib/philomena_web/templates/tag/_tag.html.slime +++ b/lib/philomena_web/templates/tag/_tag.html.slime @@ -12,7 +12,7 @@ span.tag.dropdown data-tag-category="#{@tag.category}" data-tag-id="#{@tag.id}" a.tag__name< href="/tags/#{@tag.slug}" title="#{@tag.short_description}" = @tag.name - span.dropdown__content + div.dropdown__content a.tag__dropdown__link.hidden data-method="delete" data-remote="true" data-tag-action="unwatch" href=Routes.tag_watch_path(@conn, :delete, @tag) Unwatch a.tag__dropdown__link.hidden data-method="post" data-remote="true" data-tag-action="watch" href=Routes.tag_watch_path(@conn, :create, @tag) Watch