Skip to content

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