[pbs-devel] [PATCH proxmox-backup 2/3] docs: add custom class for svgs
Hannes Duerr
h.duerr at proxmox.com
Tue Apr 2 15:36:26 CEST 2024
Unfortunately, the width attribute for svgs is ignored in sphinx version
5.3.0. Therefore we create a class which applies a width of 100% as we
want svgs
Signed-off-by: Hannes Duerr <h.duerr at proxmox.com>
---
docs/_static/custom.css | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/docs/_static/custom.css b/docs/_static/custom.css
index 7022b532..8c3c3e19 100644
--- a/docs/_static/custom.css
+++ b/docs/_static/custom.css
@@ -10,6 +10,11 @@ h1.logo-name {
div.body img {
width: 250px;
}
+
+div.body img.proxmox-svg {
+ width: 100%;
+}
+
pre {
padding: 5px 10px;
}
--
2.39.2
More information about the pbs-devel
mailing list