Skip to content

Commit bf72683

Browse files
committed
fix ui
1 parent c3562d2 commit bf72683

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

css/design.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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: 150px; /* 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: 150px; /* 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

0 commit comments

Comments
 (0)