IEEE.org     |     IEEE Xplore Digital Library     |     IEEE Standards     |     IEEE Spectrum     |     More Sites

Commit 4d31a2b9 authored by Amy Rose's avatar Amy Rose
Browse files

fix embed graph vertical centering

parent c0890787
Pipeline #1011 passed with stages
in 2 minutes and 10 seconds
......@@ -2,20 +2,24 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://cdn.jsdelivr.net/npm/chart.js@3.4.1/dist/chart.min.js" integrity="sha256-GMN9UIJeUeOsn/Uq4xDheGItEeSpI5Hcfp/63GclDZk=" crossorigin="anonymous"></script>
<script src="/static/chart.min.js"></script>
<style>
body {
display: flex;
align-content: center;
align-items: center;
margin: 0;
padding: 0;
width: 100vw;
height: 100vh;
}
canvas {
z-index: 999;
width: 100%;
height: 100%;
max-width: 100vw;
max-height: 100vh;
margin: auto;
}
</style>
</head>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment