From 4cd0c866888ddc91954e3a1ebe0cbc0023c78589 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Sun, 1 Feb 2026 08:43:07 -0700 Subject: [PATCH] fix(docs): prevent table overflow on mobile Add responsive table rules: horizontal scroll within container, word-break for inline code, and constrained max-width. Fixes hamburger menu being pushed off-screen on pages with wide tables. --- docs/static/style.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/static/style.css b/docs/static/style.css index b7a6ad0..acfda25 100644 --- a/docs/static/style.css +++ b/docs/static/style.css @@ -487,4 +487,21 @@ th { pre { max-width: calc(100vw - 2rem); } + + /* Make tables scrollable on mobile */ + table { + display: block; + overflow-x: auto; + white-space: nowrap; + max-width: calc(100vw - 2rem); + } + + /* Allow inline code to wrap */ + code { + word-break: break-all; + } + + td code { + white-space: normal; + } } \ No newline at end of file