mirror of
https://github.com/zadam/trilium.git
synced 2025-12-17 21:59:55 +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 {
|
&.path-current::before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
justify-content: flex-end;
|
||||||
justify-content: center;
|
align-items: center;
|
||||||
align-items: flex-end;
|
|
||||||
content: "\ee8f";
|
content: "\ee8f";
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|||||||
@@ -9,11 +9,11 @@ interface LinkButtonProps {
|
|||||||
|
|
||||||
export default function LinkButton({ onClick, text, triggerCommand }: LinkButtonProps) {
|
export default function LinkButton({ onClick, text, triggerCommand }: LinkButtonProps) {
|
||||||
return (
|
return (
|
||||||
<a class="tn-link" href="javascript:"
|
<a class="tn-link" href="#"
|
||||||
data-trigger-command={triggerCommand}
|
data-trigger-command={triggerCommand}
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
if (onClick) onClick();
|
onClick?.();
|
||||||
}}>
|
}}>
|
||||||
{text}
|
{text}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user