diff --git a/client/src/components/PluginDetails/__snapshots__/PluginDetails.test.tsx.snap b/client/src/components/PluginDetails/__snapshots__/PluginDetails.test.tsx.snap
index 6a0f97187..14854cef1 100644
--- a/client/src/components/PluginDetails/__snapshots__/PluginDetails.test.tsx.snap
+++ b/client/src/components/PluginDetails/__snapshots__/PluginDetails.test.tsx.snap
@@ -1506,7 +1506,7 @@ the coverage at least stays the same before you submit a pull request.
class="mt-9 flex flex-col border-l border-black"
>
@@ -1518,7 +1518,7 @@ the coverage at least stays the same before you submit a pull request.
@@ -1530,7 +1530,7 @@ the coverage at least stays the same before you submit a pull request.
@@ -1542,7 +1542,7 @@ the coverage at least stays the same before you submit a pull request.
@@ -1554,7 +1554,7 @@ the coverage at least stays the same before you submit a pull request.
@@ -1566,7 +1566,7 @@ the coverage at least stays the same before you submit a pull request.
@@ -1578,7 +1578,7 @@ the coverage at least stays the same before you submit a pull request.
@@ -1590,7 +1590,7 @@ the coverage at least stays the same before you submit a pull request.
diff --git a/client/src/components/common/TableOfContents/TableOfContents.tsx b/client/src/components/common/TableOfContents/TableOfContents.tsx
index c9fcede42..c925c2ef2 100644
--- a/client/src/components/common/TableOfContents/TableOfContents.tsx
+++ b/client/src/components/common/TableOfContents/TableOfContents.tsx
@@ -52,7 +52,11 @@ export function TableOfContents({ className, onClick, headers, free }: Props) {
// 'flex items-center',
// Box model
- 'pl-6 h-6 border-l-4',
+ 'pl-6 border-l-4',
+
+ // Ensure height is at least 25px, but also allow scaling for
+ // multiline items.
+ 'min-h-6 h-auto',
// Apply top/bottom margins except for first/last items
'my-2 first:mt-0 last:mb-0',
diff --git a/client/src/components/common/TableOfContents/__snapshots__/TableOfContents.test.tsx.snap b/client/src/components/common/TableOfContents/__snapshots__/TableOfContents.test.tsx.snap
index 168d60335..bbc9b8cfd 100644
--- a/client/src/components/common/TableOfContents/__snapshots__/TableOfContents.test.tsx.snap
+++ b/client/src/components/common/TableOfContents/__snapshots__/TableOfContents.test.tsx.snap
@@ -6,7 +6,7 @@ exports[`Table of Contents should match snapshot 1`] = `
class="flex flex-col border-l border-black sticky top-12"
>
@@ -18,7 +18,7 @@ exports[`Table of Contents should match snapshot 1`] = `
diff --git a/client/tailwind.config.js b/client/tailwind.config.js
index 4f0b34431..a3312b71c 100644
--- a/client/tailwind.config.js
+++ b/client/tailwind.config.js
@@ -70,6 +70,7 @@ module.exports = {
maxWidth: (theme) => theme('width'),
minWidth: (theme) => theme('width'),
+ minHeight: (theme) => theme('height'),
},
},
};