fix tauri links (#3131)
This commit is contained in:
@ -329,9 +329,6 @@ const ToolbarItemContents = memo(function ToolbarItemContents({
|
|||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer"
|
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"
|
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>
|
<span className="flex-1">Open {link.label}</span>
|
||||||
<CustomIcon name="link" className="w-4 h-4" />
|
<CustomIcon name="link" className="w-4 h-4" />
|
||||||
|
@ -29,7 +29,7 @@ export default function Tooltip({
|
|||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
// @ts-ignore while awaiting merge of this PR for support of "inert" https://github.com/DefinitelyTyped/DefinitelyTyped/pull/60822
|
// @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"
|
role="tooltip"
|
||||||
className={`p-3 ${
|
className={`p-3 ${
|
||||||
position !== 'left' && position !== 'right' ? 'px-0' : ''
|
position !== 'left' && position !== 'right' ? 'px-0' : ''
|
||||||
|
Reference in New Issue
Block a user