Giorgi
01/26/2023, 3:57 PM<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Youtube History</title>
<link href="style.css" rel="stylesheet" type="text/css"/>
<script src="skiko.js"></script>
</head>
<body>
<canvas id="ComposeTarget"></canvas>
<script src="web2.js"></script>
</body>
</html>
// style.css
html, body {
height: 100%;
margin: 0;
}
canvas {
width: 100%;
height: 100%;
display: block;
}
Tried a lot of other stuff from google but the canvas tag does not resize to full page. I feel like compose is doing something to have it appear as some kind of default size. it is something likeandylamax
01/26/2023, 4:03 PMhtml, body {
height: 100vh;
width: 100vw;
}
Giorgi
01/26/2023, 4:06 PMGiorgi
01/26/2023, 4:10 PMGiorgi
01/26/2023, 4:14 PMGiorgi
01/26/2023, 4:15 PMAdam S
01/26/2023, 4:35 PMPablichjenkov
01/26/2023, 4:39 PMGiorgi
01/26/2023, 4:53 PMGiorgi
01/26/2023, 4:54 PMare you opening the file directly, or via IntelliJ, or some other tool?I run a gradle task
browserDevelopmentRun
and it opens the default browser automaticalyPablichjenkov
01/26/2023, 5:24 PMPablichjenkov
01/26/2023, 5:27 PMMichael Paus
01/26/2023, 6:55 PMPablichjenkov
01/26/2023, 7:19 PM