From 3be26cc30b04f622b69232c1085d5cdd0aeac79b Mon Sep 17 00:00:00 2001 From: Peter Kerpedjiev Date: Thu, 30 Jan 2025 10:32:20 -0800 Subject: [PATCH] docs: Hide overflow in code blocks and scale images to the width of the text (#167) --- docs/higlass_theme/static/higlass.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/higlass_theme/static/higlass.css b/docs/higlass_theme/static/higlass.css index 4f068f7..af8eba0 100644 --- a/docs/higlass_theme/static/higlass.css +++ b/docs/higlass_theme/static/higlass.css @@ -147,6 +147,11 @@ a:active { pre, tt, code { font-family: 'Roboto Mono', 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; + overflow: hidden; +} + +img { + width: 100%; } div.document {