Переработал HoverIcon, чтобы его можно было использовать в <p>

This commit is contained in:
Иван Кузьменко 2025-09-30 00:23:29 +03:00
parent 632620484d
commit 9722448c36
4 changed files with 22 additions and 16 deletions

View file

@ -14,7 +14,7 @@
target={isLinkLocal(href) ? '_self' : '_blank'}
>
<div class="shrink-0 rounded-l-xl bg-slate-800 p-2">
<HoverIcon src={customIcon ?? tryGetIcon(href)} class="text-sm uppercase" text={href} />
<HoverIcon src={customIcon ?? tryGetIcon(href)} class="text-sm uppercase" />
</div>
<div
class="flex shrink-0 grow flex-nowrap items-center justify-center rounded-r-xl bg-slate-100 p-2 text-2xl text-nowrap text-slate-950"