From 08a6bea78d85697267303cbb6d8a6d09cca0bbc2 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Mon, 14 Apr 2025 00:18:08 +0200 Subject: [PATCH] css for html template for inline latex updated --- src/pyladoc/templates/test_template.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pyladoc/templates/test_template.html b/src/pyladoc/templates/test_template.html index 9cafb1d..ace6f5e 100644 --- a/src/pyladoc/templates/test_template.html +++ b/src/pyladoc/templates/test_template.html @@ -43,13 +43,17 @@ text-align: center; } - div svg { + .equation svg { margin-left: -5%; max-width: 110%; height: auto; object-fit: contain; } + .inline-equation svg { + vertical-align: middle; + } + .equation-container { display: flex; justify-content: space-between;