diff --git a/hugo/layouts/shortcodes/animation.html b/hugo/layouts/shortcodes/animation.html
index 9c94a1ee318d8dcb30a08a6aba6ab21cae3f2411..bfc343a602f25c15a7bbd5be7df7c6788f55e6c9 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"/>