Specify svg width to be 100% in default stylesheet, to fix flexbox issue (#5)

This commit is contained in:
Kevin Qi 2017-02-04 20:04:27 -08:00
parent 79093d6bbc
commit 2d19153338

View File

@ -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;