1
0
mirror of https://github.com/prometheus/docs.git synced 2026-02-05 15:45:27 +01:00

Fix jumpy TOC border

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz
2025-05-12 16:51:27 +02:00
parent 85001e2210
commit 8c8f108f0a

View File

@@ -14,8 +14,7 @@ export default function TOC(props: TableOfContentsProps) {
href: `#${data.id}`,
children: data.value,
style: {
borderLeftStyle: "solid",
borderLeftWidth: active ? 2 : 1,
borderLeft: "1px solid",
borderLeftColor: active
? "var(--mantine-color-primary-filled)"
: "light-dark(var(--mantine-color-gray-3), var(--mantine-color-gray-7))",