Skip to content

docs: Mobile fixes - #626

Merged
matthewlipski merged 3 commits into
mainfrom
website-mobile-fix
Mar 11, 2024
Merged

docs: Mobile fixes#626
matthewlipski merged 3 commits into
mainfrom
website-mobile-fix

Conversation

@matthewlipski

Copy link
Copy Markdown
Collaborator

This PR hides the editor below a certain screen size and fixes z-index of hamburger menu

@vercel

vercel Bot commented Mar 7, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
blocknote ✅ Ready (Inspect) Visit Preview Mar 8, 2024 4:30pm
blocknote-website ✅ Ready (Inspect) Visit Preview Mar 8, 2024 4:30pm

@YousefED YousefED left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How are you hiding the editor now?

previously we used:

  @media only screen and (hover: none) and (pointer: coarse) {
    display: none; /* disable on mobile */
  }

to disable the editor on touch screen devices

see

@media only screen and (hover: none) and (pointer: coarse) {

@matthewlipski

Copy link
Copy Markdown
Collaborator Author

How are you hiding the editor now?

previously we used:

  @media only screen and (hover: none) and (pointer: coarse) {
    display: none; /* disable on mobile */
  }

to disable the editor on touch screen devices

see

@media only screen and (hover: none) and (pointer: coarse) {

Fixed, now uses the same query

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