Fix up copy link toast styling
This commit is contained in:
parent
ef77c7c9a3
commit
b21051ced5
|
@ -37,7 +37,7 @@ export function CopyLinkDateTimeComponent(props: {
|
|||
}
|
||||
>
|
||||
{fromNow(createdTime)}
|
||||
{showToast && <ToastClipboard className={'left-24 sm:-left-16'} />}
|
||||
{showToast && <ToastClipboard />}
|
||||
<LinkIcon className="ml-1 mb-0.5 inline" height={13} />
|
||||
</a>
|
||||
</Link>
|
||||
|
|
|
@ -10,7 +10,7 @@ export function ToastClipboard(props: { className?: string }) {
|
|||
className={clsx(
|
||||
'border-base-300 absolute items-center' +
|
||||
'gap-2 divide-x divide-gray-200 rounded-md border-2 bg-white ' +
|
||||
'h-15 w-[15rem] p-2 pr-3 text-gray-500',
|
||||
'h-15 z-10 w-[15rem] p-2 pr-3 text-gray-500',
|
||||
className
|
||||
)}
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue
Block a user