From 123d1b744ea9d9e33510b75fc995c6366ff94b97 Mon Sep 17 00:00:00 2001 From: Michael Drury <mpdrury15@gmail.com> Date: Fri, 28 Apr 2023 11:59:21 +0100 Subject: [PATCH] making websight have more of a responsive design by using % instead of px --- shop/static/styles.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shop/static/styles.css b/shop/static/styles.css index 4b5628e..fe99c69 100644 --- a/shop/static/styles.css +++ b/shop/static/styles.css @@ -23,6 +23,7 @@ a:link { height: 90%; float: right; padding: 2%; + max-width: 50% } .shopping_side { @@ -461,7 +462,7 @@ li { .ad_photo { width: 80%; - padding: 0px; + padding-top: 5%; margin: 0px; } -- GitLab