Skip to content

Commit

Permalink
fix html
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-tennert committed May 9, 2024
1 parent 9f54391 commit 5831f44
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion wasm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,21 @@
<title>Sunflower Golden Ratio Simulation</title>
<meta name="author" content="Jan Tennert">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
<style>
body, html {
height: 100%;
}
body {
margin: 0;
display: flex;
justify-content: center;
align-items: center;
}
canvas {
width: 100vw !important;
height: 100vh !important;
}
</style>
</head>
<body>
<script type="module">
Expand Down

0 comments on commit 5831f44

Please sign in to comment.