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:
@@ -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))",
|
||||
|
||||
Reference in New Issue
Block a user