Link class clashes with daisy ui

This commit is contained in:
Florian Hoss 2022-10-25 09:26:47 +02:00
parent e3f1851b0a
commit bce9aaa5bb
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png" />
<link rel="manifest" href="/static/favicon/site.webmanifest" />
<style>
.link:hover .img {
.bookmark-link:hover .img {
opacity: 1;
transition: opacity linear 0.15s;
}

View file

@ -101,7 +101,7 @@
{{ range .Bookmarks }}
<a
href="{{ .Url }}"
class="link flex items-center no-underline hover:underline underline-offset-2 decoration-primary text-sm text-slate-700 dark:text-slate-300 hover:text-slate-900 dark:hover:text-slate-50 transition-all ease-linear duration-150"
class="bookmark-link flex items-center no-underline hover:underline underline-offset-2 decoration-primary text-sm text-slate-700 dark:text-slate-300 hover:text-slate-900 dark:hover:text-slate-50 transition-all ease-linear duration-150"
>
<div class="img rounded-md w-8 h-8 bg-cover bg-center opacity-90"
style="background-image: url({{ .Icon }})"></div>