mirror of
https://github.com/zadam/trilium.git
synced 2025-12-16 05:09:54 +01:00
client/status bar/note paths: fix the issues pointed by gemini-code-assist
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user