From a52324f018b4a3c76a7e2e42da3974bf90845e07 Mon Sep 17 00:00:00 2001
From: Jonas Leder <jonas@jonasled.de>
Date: Wed, 20 Jan 2021 21:28:02 +0100
Subject: [PATCH] articles have same width

---
 scss/_content.scss | 4 ++--
 scss/_mobile.scss  | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/scss/_content.scss b/scss/_content.scss
index dcb2e19..be33b53 100644
--- a/scss/_content.scss
+++ b/scss/_content.scss
@@ -12,8 +12,8 @@ article{
   border-radius: 20px;
   padding: 10px;
   margin-right: 20px;
-  width: 100%;
-  height: 100%;
+  flex: 1 1 0;
+  width: 0;
   word-wrap: break-word;
   p{
     word-wrap: break-word;
diff --git a/scss/_mobile.scss b/scss/_mobile.scss
index 4b78bb4..dbec2aa 100644
--- a/scss/_mobile.scss
+++ b/scss/_mobile.scss
@@ -26,4 +26,8 @@
   #newestPost{
     display: none;
   }
+
+  article{
+    width: 95%;
+  }
 }
\ No newline at end of file
-- 
GitLab