File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -197,22 +197,24 @@ nav .navbar {
197197/* Responsive adjustments for smaller screens (e.g., tablets, mobile devices) */
198198@media (max-width : 768px ) {
199199 #home-page-carousel {
200- height : 150 px ; /* Reduced height for mobile and tablets */
200+ height : auto ;
201201 }
202202
203203 .carousel-inner > .carousel-item > a > img {
204- height : 100px ; /* Adjusted height to match the carousel container */
204+ width : 100% ;
205+ height : auto ;
205206 }
206207}
207208
208209/* Very small screens (e.g., phones) */
209210@media (max-width : 480px ) {
210211 #home-page-carousel {
211- height : 150 px ; /* Further reduced height for very small screens */
212+ height : auto ;
212213 }
213214
214215 .carousel-inner > .carousel-item > a > img {
215- height : 100px ; /* Adjusted height to maintain visual consistency */
216+ width : 100% ;
217+ height : auto ;
216218 }
217219}
218220
You can’t perform that action at this time.
0 commit comments