ChandimaPrabath commited on
Commit
c37ac4d
1 Parent(s): 974899d
frontend/src/components/CastSection.css CHANGED
@@ -22,8 +22,8 @@
22
 
23
  .cast-image-container {
24
  position: relative;
25
- width: 100px;
26
- height: 100px;
27
  border-radius: 50%; /* Circular container */
28
  overflow: hidden;
29
  margin-right: 10px; /* Space between image and text */
 
22
 
23
  .cast-image-container {
24
  position: relative;
25
+ min-width: 100px;
26
+ min-height: 100px;
27
  border-radius: 50%; /* Circular container */
28
  overflow: hidden;
29
  margin-right: 10px; /* Space between image and text */
frontend/src/components/MovieCard.js CHANGED
@@ -39,7 +39,7 @@ const MovieCard = ({ title }) => {
39
  src={movieData.image}
40
  alt={`${movieData.title} poster`}
41
  fill
42
- sizes="(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"
43
  priority
44
  className="movie-card-poster"
45
  />
 
39
  src={movieData.image}
40
  alt={`${movieData.title} poster`}
41
  fill
42
+ sizes="(max-width: 500px) 100vw, (max-width: 1200spx) 50vw, 33vw"
43
  priority
44
  className="movie-card-poster"
45
  />