mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-13 07:33:48 -05:00
fix: overflowing image references in web UI
This commit is contained in:
@@ -82,14 +82,14 @@ export default function Image({ data }: { data: Image }) {
|
|||||||
>
|
>
|
||||||
<div className="mb-4 flex items-center gap-3">
|
<div className="mb-4 flex items-center gap-3">
|
||||||
<Box className={`size-6 shrink-0 text-${theme}-500`} />
|
<Box className={`size-6 shrink-0 text-${theme}-500`} />
|
||||||
<DialogTitle className="font-mono text-black dark:text-white">
|
<DialogTitle className="font-mono text-black dark:text-white break-all">
|
||||||
{url ? (
|
{url ? (
|
||||||
<>
|
<>
|
||||||
<a
|
<a
|
||||||
href={url}
|
href={url}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className={`group w-fit text-black hover:underline dark:text-white`}
|
className={`group w-fit hover:underline`}
|
||||||
>
|
>
|
||||||
<span>
|
<span>
|
||||||
{data.reference}
|
{data.reference}
|
||||||
|
|||||||
Reference in New Issue
Block a user