From 2f464c83ca0865a2b36e84485994d033e674c143 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Wed, 12 Feb 2020 01:40:16 -0600 Subject: [PATCH] graph max width --- sass/_graph.scss | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/sass/_graph.scss b/sass/_graph.scss index b088d52..90b6770 100644 --- a/sass/_graph.scss +++ b/sass/_graph.scss @@ -1,15 +1,20 @@ .graphviz { - .graph.default-coloring { - ellipse, path, polygon { - stroke: $text-color; - } + svg { + max-width: 100%; + width: 100%; - text { - fill: $text-color; - } + .graph.default-coloring { + ellipse, path, polygon { + stroke: $text-color; + } - * { - font-family: $sansfont; + text { + fill: $text-color; + } + + * { + font-family: $sansfont; + } } } }