From f9d5e527b448f25bcbfa3af312b58325e9fff04d Mon Sep 17 00:00:00 2001 From: Martijn Braam Date: Mon, 10 Feb 2020 17:32:09 +0100 Subject: [PATCH] contributors.html: Make SVG style less global the SVG not having a class here means it's very difficult to override the css for the graph without influencing other SVGs on sr.ht since injected styles usually can't filter on url. --- gitsrht/templates/contributors.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gitsrht/templates/contributors.html b/gitsrht/templates/contributors.html index d47f3f6..60d09a5 100644 --- a/gitsrht/templates/contributors.html +++ b/gitsrht/templates/contributors.html @@ -9,7 +9,7 @@ {% block head %} @@ -40,6 +40,7 @@ baseProfile="full" viewBox="0 0 520 100" xmlns="http://www.w3.org/2000/svg" + class="contributors" > {% for bar in bars %}