Can we block Landscape?

This is what I get for my home page… ((many apps block landscape))

Blocking landscape would be a highly useful setting!

Do you have CSS in there? Could be related to the weird landscape experience you’re seeing.

CSS in use indeed! To make the Home Screen look nice :slight_smile: hence why I want to stop landscape mode :slight_smile:

There isn’t a whole lot there in terms of components. Maybe the CSS could be adjusted to play more nicely with different screen sizes? To be honest, I can’t see something like “blocking landscape mode” being an implemented request in the short term, so you may be best looking for an alternative approach.

1 Like
@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}
2 Likes