summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrangerot <purple@orangerot.dev>2024-12-06 19:08:28 +0100
committerOrangerot <purple@orangerot.dev>2024-12-06 19:08:28 +0100
commit686e314d6a554c1a73a18438b0219207c97b470d (patch)
tree612af5dc8d1f10abbcaa3b46a9a0786216fc424b
parent015ff77123ccc3e95d6422424dac2ed8d0cf963e (diff)
fix: settings button was out of screen on mobile because of browser address bar; using dynamic viewport height instead
-rw-r--r--index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.html b/index.html
index 3ed5b30..10049a3 100644
--- a/index.html
+++ b/index.html
@@ -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>