From 5cdcd4193d8aa3125d6900cd4353102e4c2fdd3c Mon Sep 17 00:00:00 2001 From: Vlad Faust Date: Sun, 30 Aug 2020 23:29:07 +0300 Subject: [PATCH] Fix code width in articles on mobile devices --- public/styles/post.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/styles/post.css b/public/styles/post.css index 4465a21..3ee01ea 100644 --- a/public/styles/post.css +++ b/public/styles/post.css @@ -7,6 +7,7 @@ main { align-items: center; padding: 2rem 0; width: 100%; + max-width: 100vw; } main > h1 { @@ -42,6 +43,7 @@ main > hr { } article { + width: 100%; max-width: 35rem; }