docs: improve article

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-10-31 11:25:07 +01:00
parent 322f2c36fd
commit cf6b9f4ab8
7 changed files with 373 additions and 83 deletions

View File

@@ -8,7 +8,7 @@ interface Props {
export const Toc: React.FC<Props> = ({ toc }) => {
return (
<nav className="bg-background-light border rounded-lg pb-2 w-[280px]">
<nav className="bg-background-light border rounded-lg pb-2 max-w-[280px] w-full">
<span className="block font-medium p-4 pb-2">Table of contents</span>
<ul>
{toc.map((item) => (