Santhosh has uploaded a new change for review. https://gerrit.wikimedia.org/r/219309
Change subject: CXStats: Avoid graph overflowing the page margin ...................................................................... CXStats: Avoid graph overflowing the page margin Change-Id: I4085f9afe4cbcee1a6f57900d3e9684174aebf7b --- M modules/stats/ext.cx.stats.js 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation refs/changes/09/219309/1 diff --git a/modules/stats/ext.cx.stats.js b/modules/stats/ext.cx.stats.js index 12d93ed..ea25254 100644 --- a/modules/stats/ext.cx.stats.js +++ b/modules/stats/ext.cx.stats.js @@ -34,7 +34,7 @@ this.$highlights = $( '<div>' ).addClass( 'cx-stats-highlights' ); this.$graph = $( '<canvas>' ).attr( { id: 'cxtrend', - width: this.$container.width() - 100, // Leave a 100px margin at right + width: this.$container.width() - 200, // Leave a 200px margin buffer to avoid overflow height: 400 } ); -- To view, visit https://gerrit.wikimedia.org/r/219309 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4085f9afe4cbcee1a6f57900d3e9684174aebf7b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ContentTranslation Gerrit-Branch: master Gerrit-Owner: Santhosh <santhosh.thottin...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits