commit 7661a77d6eaba67f0a34be01bb3fd13838354532 parent 5244ac8a8f3e5c23e1c36af43110844e85d31a59 Author: Hunter Date: Wed, 16 Jul 2025 13:56:15 -0400 use media query to position fullscreen toggle appropriately on mobile Diffstat:
| M | index.html | | | 8 | +++++++- |
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/index.html b/index.html @@ -70,7 +70,13 @@ } .fullscreen-toggle.has-scrollbar { - right: calc(5px + env(scrollbar-width, 0px)); + right: calc(5px + env(scrollbar-width, 15px)); + } + + @media (pointer: none), (pointer: coarse) { + .fullscreen-toggle.has-scrollbar { + right: 5px; + } } .fullscreen-toggle:hover {