diff --git a/src/components/primitives/EntityLink.tsx b/src/components/primitives/EntityLink.tsx
index c7dce627..8e5c7a10 100644
--- a/src/components/primitives/EntityLink.tsx
+++ b/src/components/primitives/EntityLink.tsx
@@ -79,12 +79,16 @@ export default function EntityLink({
className={clsx(
'inline-flex items-center gap-2',
'max-w-full overflow-hidden select-none',
+ '[&:has(.action:hover)_a>*>*>*]:underline',
className,
)}
>
@@ -99,9 +103,8 @@ export default function EntityLink({
className: clsx(
classForContrast(),
href && !badged && 'hover:text-gray-900 dark:hover:text-gray-100',
- classNameIcon,
),
- classNameIcon: 'text-dim',
+ classNameIcon: clsx('text-dim', classNameIcon),
debug,
}}>
{badged
@@ -116,12 +119,17 @@ export default function EntityLink({
:
{renderLabel}
}
- {accessory}
+ {accessory &&
+
+ {accessory}
+ }
{!isLoading && hoverEntity !== undefined &&
{hoverEntity}
diff --git a/src/components/primitives/LabeledIcon.tsx b/src/components/primitives/LabeledIcon.tsx
index e0d15f4a..595a17e5 100644
--- a/src/components/primitives/LabeledIcon.tsx
+++ b/src/components/primitives/LabeledIcon.tsx
@@ -28,10 +28,10 @@ export default function LabeledIcon({
debug?: boolean,
}) {
return (
-
{icon && type !== 'text-only' &&
diff --git a/tailwind.css b/tailwind.css
index 0722b691..59c4329b 100644
--- a/tailwind.css
+++ b/tailwind.css
@@ -134,7 +134,7 @@
@apply
text-red-500 dark:text-red-400
}
-/* Border */
+/* Rules */
@utility border-main {
@apply
border border-gray-200 dark:border-gray-700