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;