Mooshie commited on
Commit
f394396
1 Parent(s): 2f19355

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -6
README.md CHANGED
@@ -40,16 +40,18 @@ thumbnail: "https://huggingface.co/Mooshie/hairflap/blob/main/girl1.png"
40
  }
41
  .gallery {
42
  display: flex;
43
- flex-wrap: wrap;
44
- justify-content: space-between;
45
  margin-top: 20px;
46
  }
47
  .image-container {
48
- flex: 0 0 calc(30% - 10px); /* Adjust the width as needed */
49
- max-width: 100%;
50
  cursor: pointer;
51
  text-align: center;
52
- margin-bottom: 20px;
 
 
 
53
  }
54
  .image-container img {
55
  width: 100%;
@@ -79,7 +81,7 @@ thumbnail: "https://huggingface.co/Mooshie/hairflap/blob/main/girl1.png"
79
  <img src="placeholder1.jpg" alt="Placeholder 1" loading="lazy">
80
  </div>
81
  <div class="image-container">
82
- <img src="placeholder2.jpg" alt="Placeholder 2" loading="lazy">
83
  </div>
84
  <div class="image-container">
85
  <img src="placeholder3.jpg" alt="Placeholder 3" loading="lazy">
 
40
  }
41
  .gallery {
42
  display: flex;
43
+ flex-wrap: nowrap;
44
+ overflow-x: auto;
45
  margin-top: 20px;
46
  }
47
  .image-container {
48
+ width: auto; /* Allow images to scale based on available space */
 
49
  cursor: pointer;
50
  text-align: center;
51
+ margin-right: 10px; /* Adjust the spacing between images */
52
+ }
53
+ .image-container:last-child {
54
+ margin-right: 0; /* Remove right margin for the last image */
55
  }
56
  .image-container img {
57
  width: 100%;
 
81
  <img src="placeholder1.jpg" alt="Placeholder 1" loading="lazy">
82
  </div>
83
  <div class="image-container">
84
+ <img src="placeholder2.jpg" alt "Placeholder 2" loading="lazy">
85
  </div>
86
  <div class="image-container">
87
  <img src="placeholder3.jpg" alt="Placeholder 3" loading="lazy">