Fix up copy link toast styling

This commit is contained in:
Marshall Polaris 2022-08-27 19:15:55 -07:00
parent ef77c7c9a3
commit b21051ced5
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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
)}
>