icingaweb2 icon indicating copy to clipboard operation
icingaweb2 copied to clipboard

Update mobile safe area insets

Open flourish86 opened this issue 3 years ago • 0 comments

Describe the bug

When viewing Icinga Web 2 on an actual device (e.g. iPhone > X), elements are obscured by hardware elements (“notch” on iPhone).

To Reproduce

Navigate to icingaweb2 on an iPhone X or later.

Expected behavior

The obscured elements should be inset correctly.

  • The css functions names for the insets have to be renamed, like outlined here. https://www.bram.us/2017/09/14/introducing-user-agent-variables-rendering-sites-fullscreen-in-safari-on-iphone-x/
  • Also the set insets have to be updated to the markup changes we made for changing to flexbox layout.

Screenshots

Library - 1 of 1

All Photos - 1 of 1

Your Environment

Include as many relevant details about the environment you experienced the problem in

  • master
  • Web browser used: Mobile Safari

flourish86 avatar Jun 23 '22 14:06 flourish86