From ffc03a2aae1e755281597b451309d41122dedd5e Mon Sep 17 00:00:00 2001 From: Shraddha <ShraddhaRaghuram@student.tudelft.nl> Date: Thu, 26 Sep 2024 15:12:41 +0200 Subject: [PATCH] change image css --- static/page.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/static/page.css b/static/page.css index 2dd66c2..a9a8ec7 100644 --- a/static/page.css +++ b/static/page.css @@ -355,7 +355,7 @@ body{ font-weight: 600; margin-left: 60px; } -/* .img-pagestyle{ +.img-pagestyle{ margin: 20px auto 20px; width: 50%; height: 50%; @@ -365,8 +365,8 @@ body{ width: 100%; height: 100%; object-fit: contain; -} */ -.img-pagestyle { +} +/* .img-pagestyle { display: flex; justify-content: center; margin-top: -200px; @@ -375,10 +375,10 @@ body{ } .img-pagestyle img { - width: 80%; /* Adjust the width of the image */ - height: auto; /* Maintain the aspect ratio */ - object-fit: contain; /* Ensure the image is fully contained within the space */ -} + width: 80%; + height: auto; + object-fit: contain; +} */ .pagecontent p { margin-top: 20px; text-align: justify; -- GitLab