master
kek7198 2021-12-12 22:00:13 -06:00
parent 43015da5f2
commit 639098871f
1 changed files with 6 additions and 1 deletions

View File

@ -66,6 +66,11 @@
<i class="fas fa-poll fa-fw mr-2"></i>Votes
</a>
</li>
<li class="hidden md:inline-block">
<button class="copy-link hover:text-gray-400" data-clipboard-text="{% if 'rama' in request.host %}https://dogpill.life{{p.permalink}}{% else %}{{p.permalink | full_link}}{% endif %}">
<i class="fas fa-link fa-fw mr-2"></i>Copy link
</button>
</li>
<li class="hidden md:inline-block">
<div class="dropdown">
<button type="button" id="dropdownPostActions" data-bs-toggle="dropdown" aria-expanded="false" data-bs-auto-close="outside">
@ -73,7 +78,7 @@
</button>
<ul class="dropdown-menu w-56 bg-gray-900 rounded-md shadow-lg" aria-labelledby="dropdownPostActions">
<!-- Does not require auth -->
<li>
<li class="hidden">
<button class="copy-link dropdown-item block w-full text-left px-4 py-2 text-sm text-gray-200 bg-gradient-to-t hover:from-red-800 hover:to-red-700 hover:shadow-inner focus:shadow-inner focus:bg-gradient-to-t focus:from-red-800 focus:to-red-700" role="button" data-clipboard-text="{% if 'rama' in request.host %}https://dogpill.life{{p.permalink}}{% else %}{{p.permalink | full_link}}{% endif %}">
<i class="fas fa-link fa-sm fa-fw mr-4"></i>Copy link
</button>