fix tauri links (#3131)

This commit is contained in:
Kurt Hutten
2024-07-26 15:05:46 +10:00
committed by GitHub
parent 0d4b7adf99
commit af842aeded
2 changed files with 1 additions and 4 deletions

View File

@ -329,9 +329,6 @@ const ToolbarItemContents = memo(function ToolbarItemContents({
target="_blank"
rel="noreferrer"
className="flex items-center rounded-sm p-1 no-underline text-inherit hover:bg-primary/10 hover:text-primary dark:hover:bg-chalkboard-70 dark:hover:text-inherit"
onClickCapture={(e) =>
e.nativeEvent.stopImmediatePropagation()
}
>
<span className="flex-1">Open {link.label}</span>
<CustomIcon name="link" className="w-4 h-4" />

View File

@ -29,7 +29,7 @@ export default function Tooltip({
return (
<div
// @ts-ignore while awaiting merge of this PR for support of "inert" https://github.com/DefinitelyTyped/DefinitelyTyped/pull/60822
inert={`${inert}`}
inert={inert}
role="tooltip"
className={`p-3 ${
position !== 'left' && position !== 'right' ? 'px-0' : ''