Terrastories / terrastories

Terrastories is a geostorytelling application for mapping, managing and sharing place-based stories.
https://terrastories.app
MIT License
319 stars 157 forks source link

[UI] Block horizontal / landscape mode in mweb #349

Closed mirandawang closed 2 years ago

mirandawang commented 5 years ago

Currently, the UI gets all wonky if you switch to landscape mode on mobile.

Since we don't have a great design solution for this yet, let's block that view. If the user attempts to switch the landscape mode, force the app to remain in portrait mode.

everly-gif commented 3 years ago

Hi, If this is still up for grabs, I would like to work on this :)

rudokemper commented 3 years ago

Assigned :)

everly-gif commented 3 years ago

I'm not familiar with sass but I saw some docs to get the idea of syntax . I'm at the core->_media.css

@mixin for-phone-only {
  @media (max-width: 599px) {
    @content;
  }
}

By what I referenced there needs to be a @include ? But I can't seem to find it here @rudokemper

rudokemper commented 3 years ago

Hi @everly-gif, this goes beyond my immediate knowledge. I would recommend joining the Terrastories Slack channel, details on that here https://terrastories.io/contribute/