From ea9db62c67a3817918e5581b0b1477c9494844f7 Mon Sep 17 00:00:00 2001 From: Andinus Date: Mon, 11 Oct 2021 11:14:35 +0530 Subject: Use plotly basic package, mount with onMount Loading it with meant that it was being fetched everytime user changed the page. Now it'll be bundled with bundle.js and we use onMount to solve it after everything has been loaded/rendered. --- public/global.css | 6 ++++-- public/index.html | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'public') diff --git a/public/global.css b/public/global.css index 6bcca5b..10978a7 100644 --- a/public/global.css +++ b/public/global.css @@ -70,9 +70,11 @@ html { body { max-width: 96ch; - margin: auto; + margin: 2ch; line-height: 1.5; } +@media only screen and (min-width: 600px) { body { margin: 3.2ch; } } +@media only screen and (min-width: 84ch) { body { margin: 4ch auto; } } h1 { color: var(--fg); } h2 { color: var(--fg-special-warm); } @@ -111,7 +113,7 @@ form, input, button { padding: .25em; } - +input { max-width: 8ch; } input, button { border: 2px solid var(--bg-alt); } diff --git a/public/index.html b/public/index.html index 526a8cd..6c7e561 100644 --- a/public/index.html +++ b/public/index.html @@ -4,9 +4,9 @@ - CG Algorithms + Dorado - + -- cgit 1.4.1-2-gfad0