From 288d9aa48b0f1ac699aea4c3eb3a9a5fd599e7a9 Mon Sep 17 00:00:00 2001 From: Tushar Sadhwani Date: Thu, 7 Oct 2021 16:06:09 +0530 Subject: [PATCH 1/2] Bugfix: quote monospace font For some reason, saying just `monospace` here doesn't seem to work on chrome mobile. Quoting monospace fixes the issue. --- python_docs_theme/static/pydoctheme.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_docs_theme/static/pydoctheme.css b/python_docs_theme/static/pydoctheme.css index 239d2cb..02fd92a 100644 --- a/python_docs_theme/static/pydoctheme.css +++ b/python_docs_theme/static/pydoctheme.css @@ -136,7 +136,7 @@ div.body a:hover { } tt, code, pre { - font-family: monospace, sans-serif; + font-family: "monospace", sans-serif; font-size: 96.5%; } From 5f66044ae4ea730bf225523e379b623fdc3ec077 Mon Sep 17 00:00:00 2001 From: Tushar Sadhwani Date: Thu, 7 Oct 2021 16:23:46 +0530 Subject: [PATCH 2/2] Another quote --- python_docs_theme/static/pydoctheme.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_docs_theme/static/pydoctheme.css b/python_docs_theme/static/pydoctheme.css index 02fd92a..8651f10 100644 --- a/python_docs_theme/static/pydoctheme.css +++ b/python_docs_theme/static/pydoctheme.css @@ -208,7 +208,7 @@ div.footer a:hover { } dl > dt span ~ em { - font-family: monospace, sans-serif; + font-family: "monospace", sans-serif; } .toctree-wrapper ul {