Skip to content

wasm/notebook: mobile and tablet responsive layout #2363

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

Merged

Conversation

mireille-raad
Copy link
Member

@mireille-raad mireille-raad commented Dec 9, 2020

This PR adds responsive layout to wasm/notebook on phone and ipad/tablets.

The notebook looked decent/good on phone and iPad (especially when the iPad is flipped horizontally). Since I think those devices would be mostly used for reading code, not writing it, imho the layout is good enough for now (It can be better on phones tho).

Here are some screenshots from tests on real devices. There is a problem with Chrome on Android (will open an issue).

iPad (safari)

4031D3DD-5347-4ABE-A701-DDB95F7BFF9A

Android (Firefox)

Screenshot_20201208_193255

Android (Chrome)

needs fixing, will create an issue.

Screenshot_20201208_193819_com android chrome

Copy link
Member

@coolreader18 coolreader18 left a comment

Choose a reason for hiding this comment

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

Looks great!

@coolreader18 coolreader18 merged commit 472e535 into RustPython:master Dec 9, 2020
@mireille-raad mireille-raad deleted the mir/notebook-responsive branch March 19, 2021 16:11
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