Re: [PATCH 1/1] docs: contain horizontal overflow in C API descriptions

From: Randy Dunlap

Date: Sat Mar 21 2026 - 17:12:22 EST




On 3/21/26 7:25 AM, Rito Rhymes wrote:
> Some documentation pages contain long C API signatures that can exceed
> the content width and cause page-wide horizontal scroll overflow.
>
> Apply contained horizontal scrolling to C API description blocks and
> keep their signature rows on one line. This preserves signature
> formatting while preventing them from breaking page layout.
>
> Signed-off-by: Rito Rhymes <rito@xxxxxxxxxxxxxx>
> ---
> Documentation/sphinx-static/custom.css | 7 +++++++
> 1 file changed, 7 insertions(+)

Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

--
~Randy