Skip to content

fix: codeblock overflows screen when width <= 767px - #1596

Merged
iissnan merged 1 commit into
iissnan:masterfrom
uchuhimo:fix-codeblock-overflow
Apr 19, 2017
Merged

iissnan merged 1 commit into
iissnan:masterfrom
uchuhimo:fix-codeblock-overflow

Conversation

@uchuhimo

Copy link
Copy Markdown
Contributor

Code block behaves normal on desktop, here is a demo:

codeblock-overflow-demo_desktop

But when width <= 767px (e.g. on a mobile device), it will overflow screen like this (simulate in Chrome using iPhone 6 device model):

codeblock-overflow-demo_unfixed

You can find line numbers overflow screen.

After fixed, it behaves normal again (simulate in Chrome using iPhone 6 device model):

codeblock-overflow-demo_fixed

@iissnan
iissnan merged commit f6d24ae into iissnan:master Apr 19, 2017
@iissnan

iissnan commented Apr 19, 2017

Copy link
Copy Markdown
Owner

Thanks. 👍

@uchuhimo
uchuhimo deleted the fix-codeblock-overflow branch April 19, 2017 03:47
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