From 41240ee3fbc8a02a1056939b4528953988492b8a Mon Sep 17 00:00:00 2001 From: freakoverse Date: Mon, 2 Sep 2024 09:04:57 +0000 Subject: [PATCH] Update src/styles/SimpleSlider.css --- src/styles/SimpleSlider.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/styles/SimpleSlider.css b/src/styles/SimpleSlider.css index 1188b20..e9c69ae 100644 --- a/src/styles/SimpleSlider.css +++ b/src/styles/SimpleSlider.css @@ -200,9 +200,20 @@ z-index: 1; box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.25); width: 100%; + height: 100%; object-fit: cover; /* Ensures the image covers the container like a background image */ } +.IBMSMSCWSPicWrapper { + width: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + overflow: hidden; + position: relative; +} + .IBMSMSCWSInfo { display: flex; flex-direction: column;