From a883a314951905e447377e1b207a9ff176ee71cf Mon Sep 17 00:00:00 2001 From: dumanoglu1 <118473861+dumanoglu1@users.noreply.github.com> Date: Tue, 11 Aug 2026 00:14:16 +0300 Subject: [PATCH] fix: wrap long doc table cells (#261) --- src/custom/_components.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/custom/_components.css b/src/custom/_components.css index 92eb9184..2544027d 100644 --- a/src/custom/_components.css +++ b/src/custom/_components.css @@ -675,7 +675,7 @@ article table td:not(:first-child):not(:last-child) { .theme-doc-markdown table td:last-child, article table th:last-child, article table td:last-child { - white-space: nowrap; + white-space: normal; } .theme-doc-markdown thead, @@ -723,10 +723,14 @@ article tbody tr:hover { } /* Inline code inside tables stays legible */ +.theme-doc-markdown th code, .theme-doc-markdown td code, +article th code, article td code { font-size: 13px; padding: 1px 4px; + white-space: normal; + overflow-wrap: anywhere; } /* ==========================================