From 60d013da9112f3f417b9a31bbb4f6a60af18c038 Mon Sep 17 00:00:00 2001 From: Tushar Sadhwani Date: Thu, 7 Oct 2021 19:37:05 +0530 Subject: [PATCH] Bugfix: quote monospace font (#85) 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python_docs_theme/static/pydoctheme.css b/python_docs_theme/static/pydoctheme.css index 239d2cb..8651f10 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%; } @@ -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 {