commit
						14e2d9bdd1
					
				| 
						 | 
					@ -288,7 +288,7 @@ h3 {
 | 
				
			||||||
  overflow: hidden;
 | 
					  overflow: hidden;
 | 
				
			||||||
  height: fit-content;
 | 
					  height: fit-content;
 | 
				
			||||||
  position: relative;
 | 
					  position: relative;
 | 
				
			||||||
  overflow-y: scroll;
 | 
					  overflow-y: auto;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#description-carousel .description-carousel-item {
 | 
					#description-carousel .description-carousel-item {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 318 B  | 
| 
						 | 
					@ -740,7 +740,12 @@ function pokemonCarousel(direction) {
 | 
				
			||||||
        rightButton.style.display = "block";
 | 
					        rightButton.style.display = "block";
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    transitionPokemonCarousel(activePokemonCarousel);
 | 
					    try {
 | 
				
			||||||
 | 
					        transitionPokemonCarousel(activePokemonCarousel);
 | 
				
			||||||
 | 
					    } catch {
 | 
				
			||||||
 | 
					        //carousel not built yet
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function transitionPokemonCarousel(i) {
 | 
					function transitionPokemonCarousel(i) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,3 +22,5 @@ The `js/scripts.js` file contains a simple console.log statement to confirm that
 | 
				
			||||||
All images inside `assets/photos` folder are from https://pixabay.com and used under the licence outlined here https://pixabay.com/service/terms/
 | 
					All images inside `assets/photos` folder are from https://pixabay.com and used under the licence outlined here https://pixabay.com/service/terms/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
All SVG Vectors are from https://www.svgrepo.com
 | 
					All SVG Vectors are from https://www.svgrepo.com
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					This application makes use of the PokeAPI, which can be found at https://pokeapi.co/
 | 
				
			||||||
		Loading…
	
		Reference in New Issue