Skip to content

Determines whether the device is in landscape or portrait mode. Fixes #42.#45

Open
MaciejPiw0warczyk wants to merge 1 commit into
baltermia:mainfrom
MaciejPiw0warczyk:main
Open

Determines whether the device is in landscape or portrait mode. Fixes #42.#45
MaciejPiw0warczyk wants to merge 1 commit into
baltermia:mainfrom
MaciejPiw0warczyk:main

Conversation

@MaciejPiw0warczyk

Copy link
Copy Markdown

Adds orientation detection to determine whether the device is in landscape or portrait mode, resolving issue #42.
This should be safe to implement, as matchMedia() has been widely supported across major browsers since 2015.
This is my first PR, so I hope everything is in order.

@baltermia

Copy link
Copy Markdown
Owner

Hi, thanks for the PR. I will take a look in the coming week :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants