From 100af3b5f17bf97ab51831f9fceb6bd7c26b2635 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Thu, 14 Nov 2024 14:06:49 -0600 Subject: [PATCH] workaround for vertical stacking issue with docs theme --- docs/_static/custom.css | 13 +++++++++++++ docs/conf.py | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 docs/_static/custom.css diff --git a/docs/_static/custom.css b/docs/_static/custom.css new file mode 100644 index 0000000..df9eac9 --- /dev/null +++ b/docs/_static/custom.css @@ -0,0 +1,13 @@ +/* +SPDX-FileCopyrightText: 2024 Tim Cocks for Adafruit Industries + +SPDX-License-Identifier: MIT + */ + +/* +Fix for horizontal stacking weirdness in the RTD theme with Python properties: +https://github.com/readthedocs/sphinx_rtd_theme/issues/1301 +*/ +.py.property { + display: block !important; +} diff --git a/docs/conf.py b/docs/conf.py index 3eede50..c5fcded 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -116,6 +116,8 @@ # html_favicon = "_static/favicon.ico" +html_css_files = ["custom.css"] + # Output file base name for HTML help builder. htmlhelp_basename = "AdafruitDisplay_shapesLibrarydoc" pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy