From 4068151f58322a145a341ff48106ea191f478ae9 Mon Sep 17 00:00:00 2001
From: Jonas Leder <jonas@jonasled.de>
Date: Tue, 17 Nov 2020 20:40:31 +0100
Subject: [PATCH] show one banner per line on mobile

---
 css/style.css      | 4 ++++
 include/footer.php | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/css/style.css b/css/style.css
index 4e53d84..c247228 100644
--- a/css/style.css
+++ b/css/style.css
@@ -462,4 +462,8 @@ button{
         width: 100%;
     }
 
+    #newestPost{
+        display: none;
+    }
+
 }
\ No newline at end of file
diff --git a/include/footer.php b/include/footer.php
index da1cb59..2e61e57 100644
--- a/include/footer.php
+++ b/include/footer.php
@@ -9,7 +9,7 @@ include "../internal/mysql.php";
         <a href="/bildquellen.html">Bildquellen</a><br>
         <a href="/impressum.php">Impressum</a><br>
     </div>
-    <div>
+    <div id="newestPost">
         <h3>Neueste Beitr&auml;ge:</h3>
         <?php
         $result = $conn->query("SELECT * FROM posts order by id desc limit $footerMaxPost");
-- 
GitLab