From 7fc9ed2e972c29758f1154a68e7b01fd0ba4cf11 Mon Sep 17 00:00:00 2001 From: Pratyush Sharma <56130065+pratyush618@users.noreply.github.com> Date: Sun, 12 Jul 2026 16:23:00 +0530 Subject: [PATCH] fix(docs): wrap first-column params to avoid h-scroll --- docs/app/styles/docs.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/app/styles/docs.css b/docs/app/styles/docs.css index 84c7eada..34efdd10 100644 --- a/docs/app/styles/docs.css +++ b/docs/app/styles/docs.css @@ -844,8 +844,13 @@ body { color: var(--txt2); vertical-align: top; } +/* First column wraps at token boundaries so a cell listing several parameters + (`a` / `b` / `c` …) folds onto multiple lines instead of widening the table + into a horizontal scroll. Each identifier stays whole via the `td code` rule + below; only the ` / ` separators are break points. */ .md-table tr td:first-child { - white-space: nowrap; + white-space: normal; + overflow-wrap: normal; } /* Inline code in cells (types like `str | None`, defaults, identifiers) must stay on one line: the article-wide `overflow-wrap: anywhere` otherwise breaks