Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Set safe CSS for progress indicator which does not conflict with Bootstrap

Pavel Zubkouc66b34e7e1ee
diff --git a/mocha.css b/mocha.css
index 3b82ae91..759a6c8c 100644
--- a/mocha.css
+++ b/mocha.css
@@ -261,6 +261,15 @@ body {
#mocha-stats .progress {
float: right;
padding-top: 0;
+
+ /**
+ * Set safe initial values, so mochas .progress does not inherit these
+ * properties from Bootstrap .progress (which causes .progress height to
+ * equal line height set in Bootstrap).
+ */
+ height: auto;
+ box-shadow: none;
+ background-color: initial;
}
#mocha-stats em {