From 8d4def0584567b5e1c4d82cb553bb2e8b5b888e1 Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Mon, 12 Aug 2019 20:40:46 +0800 Subject: [PATCH] fix: handle style when content viewport is narrow but window is wide --- src/content.less | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/content.less b/src/content.less index a2e3672..14caf0e 100644 --- a/src/content.less +++ b/src/content.less @@ -22,7 +22,12 @@ .Header { max-width: 1012px; margin: 0 auto; - overflow: auto; + } +} + +@media (min-width: @github-content-width) { + body { + min-width: @github-content-width; } }