From 05a7a9775ddd1f296a6339a17895b5b11ae1eb75 Mon Sep 17 00:00:00 2001
From: Michael Drury <mpdrury15@gmail.com>
Date: Fri, 28 Apr 2023 19:13:52 +0100
Subject: [PATCH] made footer better making it adjust with screen size (forgot
 to do it for one of the pages)

---
 shop/static/styles.css        | 4 ++--
 shop/templates/item_page.html | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/shop/static/styles.css b/shop/static/styles.css
index 05c78b5..cd9d0da 100644
--- a/shop/static/styles.css
+++ b/shop/static/styles.css
@@ -414,7 +414,7 @@ li {
     position: absolute;
     top: 0;
     right: 0;
-    padding-left: 20px;
+    padding-right: 20px;
 }
 
 .footer_logo_left {
@@ -423,7 +423,7 @@ li {
 }
 
 .footer_logo_right {
-    height: 100px;
+    height: 120px;
     float: right;
 }
 
diff --git a/shop/templates/item_page.html b/shop/templates/item_page.html
index 40e4fd2..040a075 100644
--- a/shop/templates/item_page.html
+++ b/shop/templates/item_page.html
@@ -67,16 +67,16 @@
 
 <!--repeated footer in page as dont want every page to have it-->
 <footer id="footer">
-    <div class = "footer_logo">
-        <img style = "height:100px" src = "{{ url_for('static', filename='images/dark_logo.png') }}" alt="logo image"/>
+    <div class = "footer_logo_left_div">
+        <img class = "footer_logo_left" src = "{{ url_for('static', filename='images/dark_logo.png') }}" alt="logo image"/>
     </div>
     <div class = "footer_contact">
         <p>Contact us:</p>
         <p>e-mail: mpdrury15@gmail.com</p>
         <p>telephone: 07874810762</p>
     </div>
-    <div class = "footer_bike">
-        <img style = "height: 120px" src = "{{ url_for('static', filename='images/footer_mtb.png') }}" alt="mtb image"/>
+    <div class = "footer_logo_right_div">
+        <img class = "footer_logo_right" src = "{{ url_for('static', filename='images/footer_mtb.png') }}" alt="mtb image"/>
     </div>
 </footer>
 {% endblock %}
-- 
GitLab