From fd9e192cf4fae399c0d51dd23e2a137052eb6087 Mon Sep 17 00:00:00 2001 From: Motov Yurii <109919500+YuriiMotov@users.noreply.github.com> Date: Mon, 23 Mar 2026 14:56:46 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Fix=20code=20blocks=20in=20refer?= =?UTF-8?q?ence=20docs=20overflowing=20table=20width=20(#15094)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en/docs/css/custom.css | 6 ++++++ docs/en/mkdocs.yml | 1 + 2 files changed, 7 insertions(+) diff --git a/docs/en/docs/css/custom.css b/docs/en/docs/css/custom.css index e207197c7..bbfd49b55 100644 --- a/docs/en/docs/css/custom.css +++ b/docs/en/docs/css/custom.css @@ -254,6 +254,12 @@ Inspired by Termynal's CSS tricks with modifications box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930; } +.doc-param-details .highlight { + overflow-x: auto; + width: 0; + min-width: 100%; +} + .md-typeset dfn { border-bottom: .05rem dotted var(--md-default-fg-color--light); cursor: help; diff --git a/docs/en/mkdocs.yml b/docs/en/mkdocs.yml index 0db3e7a95..461419498 100644 --- a/docs/en/mkdocs.yml +++ b/docs/en/mkdocs.yml @@ -279,6 +279,7 @@ markdown_extensions: pymdownx.caret: null pymdownx.highlight: line_spans: __span + linenums_style: pymdownx-inline pymdownx.inlinehilite: null pymdownx.keys: null pymdownx.mark: null