From 6ef643570050ab02f7ee910859b48cc0dc6b82f6 Mon Sep 17 00:00:00 2001 From: Jeff Puckett Date: Thu, 15 Jun 2017 02:43:21 +0000 Subject: [PATCH 1/2] doc mobile responsiveness. closes sindresorhus/github-markdown-css#44 --- readme.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 2e00e1d..2bb1f03 100644 --- a/readme.md +++ b/readme.md @@ -18,10 +18,11 @@ $ npm install --save github-markdown-css ## Usage -Import the `github-markdown.css` file and add a `markdown-body` class to the container of your rendered Markdown and set a width for it. GitHub uses `980px` width and `45px` padding. +Import the `github-markdown.css` file and add a `markdown-body` class to the container of your rendered Markdown and set a width for it. GitHub uses `980px` width and `45px` padding, and `15px` padding for mobile. ```html +

Unicorns

From 7811a7b836ad243b237d4fdc611dbfef49730b38 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 15 Jun 2017 12:42:55 +0200 Subject: [PATCH 2/2] Create readme.md --- readme.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 2bb1f03..5d148e2 100644 --- a/readme.md +++ b/readme.md @@ -21,8 +21,8 @@ $ npm install --save github-markdown-css Import the `github-markdown.css` file and add a `markdown-body` class to the container of your rendered Markdown and set a width for it. GitHub uses `980px` width and `45px` padding, and `15px` padding for mobile. ```html - +