From f03e2de1ec928356ef823292c2e7dc8a1e8a16b2 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Mon, 3 Feb 2020 21:17:07 +0000 Subject: [PATCH] Position text content (article) pages --- app/src/frontend/styles/layout.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/app/src/frontend/styles/layout.css b/app/src/frontend/styles/layout.css index e24d9e37..39bff716 100644 --- a/app/src/frontend/styles/layout.css +++ b/app/src/frontend/styles/layout.css @@ -11,7 +11,20 @@ body { * Text pages */ article { - margin-top: 85px; + position: absolute; + top: 76px; + left: 0; + right: 0; + bottom: 0; + padding: 0 1rem; + max-height: 100vh; + overflow-y: auto; +} +@media (min-width: 990px) { + article { + top: 0px; + left: 480px; + } } article section { overflow: hidden;