From 0ebf996ec3da4bf85dbe22ab0f2491dbd9e7f698 Mon Sep 17 00:00:00 2001 From: kirbylife Date: Wed, 4 Dec 2019 17:41:49 -0600 Subject: [PATCH] fixed the date in a single row and added over to code --- static/css/post.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/static/css/post.css b/static/css/post.css index 0f76914..8ede28e 100644 --- a/static/css/post.css +++ b/static/css/post.css @@ -1,6 +1,6 @@ div.container { display: grid; - grid-template-columns: 7fr 1fr; + grid-template-columns: 1fr auto; gird-template-rows: 1fr 1fr 1fr; grid-template-areas: @@ -17,11 +17,12 @@ div.container { article { grid-area: content; + overflow: hidden; } .date { grid-area: date; - margin: 2px; + text-align: right; } pre { @@ -32,4 +33,7 @@ pre { padding-bottom: 0.7em; padding-left: 0.5em; color: white; + white-space: pre; + word-wrap: normal; + overflow-x: auto; }