Ejegg has submitted this change and it was merged.

Change subject: Modify c3 style value to work with widgets
......................................................................


Modify c3 style value to work with widgets

Change-Id: I04a7801024d6400bd3f89c6eee5aca57e4263555
---
M c3/c3.js
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Ejegg: Verified; Looks good to me, approved



diff --git a/c3/c3.js b/c3/c3.js
index 233d1b5..98c4c56 100644
--- a/c3/c3.js
+++ b/c3/c3.js
@@ -877,7 +877,7 @@
             .attr('width', $$.width)
             .attr('height', $$.height);
         // MEMO: parent div's height will be bigger than svg when <!DOCTYPE 
html>
-        $$.selectChart.style('max-height', $$.currentHeight + "px");
+        $$.selectChart.style('max-height', 
$$.currentHeight+($$.currentHeight/5) + "px");
     };
 
 

-- 
To view, visit https://gerrit.wikimedia.org/r/199507
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I04a7801024d6400bd3f89c6eee5aca57e4263555
Gerrit-PatchSet: 2
Gerrit-Project: wikimedia/fundraising/dash/src/bower_modules
Gerrit-Branch: master
Gerrit-Owner: Ssmith <ssm...@wikimedia.org>
Gerrit-Reviewer: Ejegg <eeggles...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to