mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 03:22:33 -06:00
Improve visuals of sharing links
This commit is contained in:
parent
ea0a6c3698
commit
3a4e976273
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{{ $icon := resources.Get (print "icons/" . ".svg") }}
|
||||
{{ if $icon }}
|
||||
<span class="relative inline-block align-text-bottom icon">
|
||||
<span class="relative icon">
|
||||
{{ $icon.Content | safeHTML }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{{ with . }}
|
||||
<a
|
||||
target="_blank"
|
||||
class="m-1 inline-block min-w-[2.4rem] rounded bg-neutral-300 p-1 text-center text-neutral-700 hover:bg-primary-500 hover:text-neutral dark:bg-neutral-700 dark:text-neutral-300 dark:hover:bg-primary-400 dark:hover:text-neutral-800"
|
||||
class="m-1 rounded bg-neutral-300 p-1 text-neutral-700 hover:bg-primary-500 hover:text-neutral dark:bg-neutral-700 dark:text-neutral-300 dark:hover:bg-primary-400 dark:hover:text-neutral-800"
|
||||
href="{{ printf .url $.Permalink $.Title }}"
|
||||
title="{{ i18n .title }}"
|
||||
aria-label="{{ i18n .title }}"
|
||||
|
|
Loading…
Reference in a new issue