From 2d19153338e2af9b3deb1301dfb9bdce7bed20cf Mon Sep 17 00:00:00 2001 From: Kevin Qi Date: Sat, 4 Feb 2017 20:04:27 -0800 Subject: [PATCH] Specify svg width to be 100% in default stylesheet, to fix flexbox issue (#5) --- src/styles.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/styles.css b/src/styles.css index 9340457..cdaed3a 100644 --- a/src/styles.css +++ b/src/styles.css @@ -4,6 +4,16 @@ * All of the styles in this file are optional and configurable! */ +.CircularProgressbar { + /* + * This fixes an issue where the CircularProgressbar svg has + * 0 width inside a "display: flex" container, and thus not visible. + * + * If you're not using "display: flex", you can remove this style. + */ + width: 100%; +} + .CircularProgressbar .CircularProgressbar-path { stroke: #3e98c7; stroke-linecap: round;