diff --git a/website/all_benchmark.html b/website/all_benchmark.html index d17c5bde6e..1d73d58310 100644 --- a/website/all_benchmark.html +++ b/website/all_benchmark.html @@ -1,4 +1,4 @@ - + diff --git a/website/app.js b/website/app.js index b1bce55aac..18d2899df0 100644 --- a/website/app.js +++ b/website/app.js @@ -135,11 +135,6 @@ function generate( // @ts-ignore c3.generate({ bindto: id, - size: { - height: 300, - // @ts-ignore - width: window.chartWidth || 375 // TODO: do not use global variable - }, data: { columns, onclick diff --git a/website/style.css b/website/style.css index 95e558b289..5b44d37995 100644 --- a/website/style.css +++ b/website/style.css @@ -13,6 +13,8 @@ main { } svg { margin: 0px auto; + width: 100%; + height: 300px; } a {