mirror of
https://github.com/HeyPuter/puter.git
synced 2026-08-25 15:37:12 +00:00
fix(gui): account for iOS safe area inset on taskbar/dock (#2682)
The taskbar uses position:fixed with bottom:5px, which gets hidden behind the iOS Safari bottom toolbar on devices with home indicators. Use env(safe-area-inset-bottom) to push the dock above the safe area. The viewport-fit=cover meta tag is already present in initgui.js. Fixes #2517
This commit is contained in:
@@ -2436,7 +2436,7 @@ label {
|
||||
|
||||
height: 50px;
|
||||
border-radius: 10px;
|
||||
bottom: 5px;
|
||||
bottom: calc(5px + env(safe-area-inset-bottom, 0px));
|
||||
padding-left: 7px;
|
||||
padding-right: 7px;
|
||||
width: auto;
|
||||
|
||||
Reference in New Issue
Block a user