From 87230f1e5d8654c174bb1523419171614013f7ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Ricart?= Date: Fri, 7 Mar 2025 16:59:30 +0100 Subject: [PATCH] fix size diagram --- source/infra.rst | 1 + template/base.rst.j2 | 1 + 2 files changed, 2 insertions(+) diff --git a/source/infra.rst b/source/infra.rst index 5f2b58c..ba2541c 100644 --- a/source/infra.rst +++ b/source/infra.rst @@ -1,4 +1,5 @@ .. d2lang:: + :width: 35% ...@source/infra.d2 home.adama.style.animated: True diff --git a/template/base.rst.j2 b/template/base.rst.j2 index b91a185..6666ba6 100644 --- a/template/base.rst.j2 +++ b/template/base.rst.j2 @@ -10,6 +10,7 @@ Diagram .. d2lang:: :filename: d2lang/{{ hostname.replace("\n", "") }}.svg + :width: 35% :layout: elk ...@source/infra.d2