Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Allow for responsive widths #179

Merged
merged 1 commit into from

2 participants

@wesbos

Changing width to max-width will allow the output to be resized on smaller browsers and devices.

I teach with markdown and I need to bump up the font size quite a bit and this is causing horizontal scrolling. max-width will resize once you get smaller than 912px.

This is also how the marked app works.

@wesbos wesbos Allow for responsive widths
Changing width to max-width will allow the output to be resized on smaller browsers and devices. 

I teach with markdown and I need to bump up the font size quite a bit and this is causing horizontal scrolling. max-width will resize once you get smaller than 912px.

This is also how the marked app works.
9e05ef6
@revolunet
Owner

thanks !

@revolunet revolunet merged commit 99a1835 into revolunet:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 25, 2014
  1. @wesbos

    Allow for responsive widths

    wesbos authored
    Changing width to max-width will allow the output to be resized on smaller browsers and devices. 
    
    I teach with markdown and I need to bump up the font size quite a bit and this is causing horizontal scrolling. max-width will resize once you get smaller than 912px.
    
    This is also how the marked app works.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 github.css
View
4 github.css
@@ -9,7 +9,7 @@ body
border: 3px solid #EEE;
box-shadow: inset 0 0 0 1px #CECECE;
font-family: Helvetica, arial, freesans, clean, sans-serif;
- width: 912px;
+ max-width: 912px;
padding: 30px;
margin: 2em auto;
@@ -747,4 +747,4 @@ body .task-list{
.type-csharp .highlight .sc{
color:#A31515
-}
+}
Something went wrong with that request. Please try again.