diff --git a/docs/static/style.css b/docs/static/style.css index 59df8f6..340b021 100644 --- a/docs/static/style.css +++ b/docs/static/style.css @@ -127,6 +127,17 @@ a:hover { color: var(--accent-hover); } +/* KaTeX display math - local overrides */ +.katex-display { + margin: 1rem 0; + overflow-x: auto; +} + +/* Fallback: constrain radical SVG when CDN blocked */ +.hide-tail svg { + max-width: 100% !important; +} + /* Code */ code { font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, monospace; diff --git a/docs/templates/base.html b/docs/templates/base.html index 60f9c21..fdfed52 100644 --- a/docs/templates/base.html +++ b/docs/templates/base.html @@ -7,6 +7,7 @@ {{ title }} | {{ config.title }} +