Adds markdown formatting. Layout and style improvements.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import { pb } from "@/lib/pocketbase";
|
||||
import type { AnyDocument, Secret } from "@/lib/types";
|
||||
import { useState } from "react";
|
||||
import { DocumentLink } from "../DocumentLink";
|
||||
|
||||
/**
|
||||
* Renders a secret row with a discovered checkbox and secret text.
|
||||
@@ -70,7 +71,12 @@ export const SecretToggleRow = ({
|
||||
aria-label="Discovered"
|
||||
disabled={loading}
|
||||
/>
|
||||
{secret.data.text}
|
||||
<DocumentLink
|
||||
childDocId={secret.id}
|
||||
className="!no-underline text-slate-100 hover:underline hover:text-violet-400"
|
||||
>
|
||||
{secret.data.text}
|
||||
</DocumentLink>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user