From 00dd51308911caa87b5f55a9e7407c6e9e9dfd86 Mon Sep 17 00:00:00 2001
From: Malte Schmitz <schmitz@isp.uni-luebeck.de>
Date: Sat, 15 Feb 2020 02:40:03 +0100
Subject: [PATCH] Add viewbox for better SVG scaling

---
 hugo/layouts/shortcodes/animation.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hugo/layouts/shortcodes/animation.html b/hugo/layouts/shortcodes/animation.html
index 9c94a1e..bfc343a 100644
--- a/hugo/layouts/shortcodes/animation.html
+++ b/hugo/layouts/shortcodes/animation.html
@@ -1,4 +1,4 @@
-<svg width="760" height="390" version="1.1" id="plot">
+<svg viewbox="0 0 760 390" width="760" height="390" version="1.1" id="plot" class="img-fluid">
  <defs>
   <marker id="arrow" markerHeight="4" markerWidth="4" orient="auto-start-reverse" refX="5" refY="5" viewBox="0 0 10 10">
    <path d="m0 0 10 5-10 5z"/>
-- 
GitLab