From 35d5884591c05de59c5d3c1bd97a211c763b23fb Mon Sep 17 00:00:00 2001 From: Nick Pegg Date: Sun, 4 Aug 2024 09:21:04 -0700 Subject: [PATCH] responsive image size --- photoalbum/skel/static/index.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/photoalbum/skel/static/index.css b/photoalbum/skel/static/index.css index f5ba8c6..db2b8b0 100644 --- a/photoalbum/skel/static/index.css +++ b/photoalbum/skel/static/index.css @@ -2,7 +2,7 @@ body { } #content { - width: 1500px; + max-width: 1500px; text-align: center; margin-left: auto; margin-right: auto; @@ -41,6 +41,11 @@ ul { width: 50px; } +#photo img { + max-width: 100%; + height: auto; +} + .arrow { border: solid black; border-width: 0 3px 3px 0;