I built the cmp wizard package as is. It works fin...
# compose-web
h
I built the cmp wizard package as is. It works fine on PC, but Why is the width weird on mobile?
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Even with the settings, it's still twice the size. What are some good ways to do this?
a
My best approach:
Copy code
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <script src="skiko.js"></script>
    <title>Compose Settings</title>

</head>
<body>
<div>
    <canvas id="ComposeTarget"></canvas>
</div>
<script src="composeApp.js"></script>
</body>
</html>
wrapping the canvas into a
div
but not 100% looking good
h
I copied and pasted the code, it still doesn't work. in chrome ㅠㅠ
h
Same problem
Screenshot_20240514_102634.png
Here I found a solution that works for me
❤️ 1
a
What could cause those glitches?
🫢 1