From ae37d801088f00194d476dfe684fe1bc2710123d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Rzucid=C5=82o?= Date: Mon, 4 Feb 2019 15:10:16 +0100 Subject: [PATCH 1/2] [Fix] More accurate width of markdown box --- lib/templates/github.less | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/templates/github.less b/lib/templates/github.less index c06d1d4..cf42d5e 100644 --- a/lib/templates/github.less +++ b/lib/templates/github.less @@ -1,10 +1,16 @@ body { - width: 45em; + width: 978px; border: 1px solid #ddd; outline: 1300px solid #fff; margin: 16px auto; } +@media screen and (max-width: 1024px) { + body { + width: 98%; + } +} + body .markdown-body { padding: 30px; From 6b16accad9b7778f9877cef49f1c429c4e183c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Rzucid=C5=82o?= Date: Mon, 4 Feb 2019 15:10:52 +0100 Subject: [PATCH 2/2] [Fix] More accurate width of markdown box --- lib/templates/markserv.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/templates/markserv.css b/lib/templates/markserv.css index 592c54f..11a99de 100644 --- a/lib/templates/markserv.css +++ b/lib/templates/markserv.css @@ -1,5 +1,5 @@ body { - width: 45em; + width: 978px; margin: 16px auto; } @@ -7,6 +7,12 @@ body .markdown-body { padding: 30px; } +@media screen and (max-width: 1024px) { + body { + width: 98%; + } +} + @media screen and (min-width: 768px) { body { border: 1px solid #ddd;