client/status bar/note paths: fix the issues pointed by gemini-code-assist

This commit is contained in:
Adorian Doran
2025-12-15 01:43:36 +02:00
parent 65f425df2c
commit 9834846a23
2 changed files with 4 additions and 5 deletions

View File

@@ -118,9 +118,8 @@
&.path-current::before {
position: absolute;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-end;
justify-content: flex-end;
align-items: center;
content: "\ee8f";
top: 0;
left: 0;

View File

@@ -9,11 +9,11 @@ interface LinkButtonProps {
export default function LinkButton({ onClick, text, triggerCommand }: LinkButtonProps) {
return (
<a class="tn-link" href="javascript:"
<a class="tn-link" href="#"
data-trigger-command={triggerCommand}
onClick={(e) => {
e.preventDefault();
if (onClick) onClick();
onClick?.();
}}>
{text}
</a>