Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mobile support to docs #13515

Merged

Conversation

GeopJr
Copy link
Contributor

@GeopJr GeopJr commented May 29, 2023

This PR adds mobile support to docs

There hasn't been any prior discussion/communication about this, so it may require a lot of changes. The key parts are:

  • No JS
  • Doesn't change many parts of the dom
  • I drew the icons for licensing reasons - if you have better ones in mind, let me know
  • lastOpenType.scrollIntoView is no longer on top, because DOMContentLoaded is emitted before CSS is done (causing the open type to not be in view)
output.webm
Screencast.from.2023-05-29.14-14-41.webm

fix: #13489
TODO: change open svg color to white on dark mode when #13512 gets merged

@GeopJr GeopJr changed the title Add mobile support for docs Add mobile support to docs May 29, 2023
@GeopJr GeopJr marked this pull request as ready for review June 6, 2023 09:06
Copy link
Member

@straight-shoota straight-shoota left a comment

Choose a reason for hiding this comment

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

LGTM.
There are probably some details that can still be improved, but it's a great start.

@straight-shoota straight-shoota added this to the 1.9.0 milestone Jun 15, 2023
@straight-shoota straight-shoota merged commit c30f009 into crystal-lang:master Jun 18, 2023
Blacksmoke16 pushed a commit to Blacksmoke16/crystal that referenced this pull request Dec 11, 2023
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs page not mobile-friendly
4 participants