[Webkit-unassigned] [Bug 254868] Incorrect height values when viewport-fit=cover is set for installed web apps

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 1 11:21:50 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=254868

--- Comment #2 from ik at rejh.nl ---
Ah just now noticed a typo in my example/workaround code.

For standalone display-mode, it should use 'vh' units as that does include safe-area-inset:

```
/* Switch to 'vh' when in standalone: */
@media all and (display-mode: standalone) {  
  html, body {
    min-height: 100vh; /* <== should be 'vh', not 'svh'
  }
}
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230401/eaccc9e6/attachment.htm>


More information about the webkit-unassigned mailing list