Переработал HoverIcon, чтобы его можно было использовать в <p>
This commit is contained in:
parent
632620484d
commit
9722448c36
4 changed files with 22 additions and 16 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue