diff options
author | Orangerot <purple@orangerot.dev> | 2024-12-06 19:08:28 +0100 |
---|---|---|
committer | Orangerot <purple@orangerot.dev> | 2024-12-06 19:08:28 +0100 |
commit | 686e314d6a554c1a73a18438b0219207c97b470d (patch) | |
tree | 612af5dc8d1f10abbcaa3b46a9a0786216fc424b | |
parent | 015ff77123ccc3e95d6422424dac2ed8d0cf963e (diff) |
fix: settings button was out of screen on mobile because of browser address bar; using dynamic viewport height instead
-rw-r--r-- | index.html | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,10 +9,10 @@ <link rel="stylesheet" href="style.css"> <title>Imagine - Image Editor</title> </head> - <body style="padding-top: 100vh; "> + <body style="padding-top: 100dvh; "> <div class="navbar columns is-mobile is-fixed-top"> <div class="column"> - <div class="hero is-fullheight"> + <div class="hero is-fullheight" style="min-height: 100dvh;"> <div class="hero-body"> <div class="container"> <canvas id="myCanvas" class="is-hidden" width="300" height="300"></canvas> |