summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
Diffstat (limited to 'website')
-rw-r--r--website/all_benchmark.html2
-rw-r--r--website/app.js5
-rw-r--r--website/style.css2
3 files changed, 3 insertions, 6 deletions
diff --git a/website/all_benchmark.html b/website/all_benchmark.html
index d17c5bde6..1d73d5831 100644
--- a/website/all_benchmark.html
+++ b/website/all_benchmark.html
@@ -1,4 +1,4 @@
-<!-- Copyright 2018 the Deno authors. All rights reserved. MIT license. -->
+<!-- Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. -->
<!DOCTYPE html>
<html>
<head>
diff --git a/website/app.js b/website/app.js
index b1bce55aa..18d2899df 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 95e558b28..5b44d3799 100644
--- a/website/style.css
+++ b/website/style.css
@@ -13,6 +13,8 @@ main {
}
svg {
margin: 0px auto;
+ width: 100%;
+ height: 300px;
}
a {