Improve photo gallery display and top stories article count
Fixes an issue where the photo gallery images were not displaying correctly by adjusting the aspect ratio. Also, increases the number of top stories displayed from 5 to 6. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 517dfa7b-26ac-463d-a6e1-a58c6df97188 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 62622ea9-39e1-4692-b0aa-22c5a941c250 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/517dfa7b-26ac-463d-a6e1-a58c6df97188/drGbo1a Replit-Helium-Checkpoint-Created: true
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
@@ -110,7 +110,7 @@ function SingleImageCarousel({
|
||||
onMouseEnter={() => setPaused(true)}
|
||||
onMouseLeave={() => setPaused(false)}
|
||||
>
|
||||
<div className="relative w-full h-full overflow-hidden rounded-b-lg">
|
||||
<div className="relative w-full overflow-hidden rounded-b-lg aspect-square">
|
||||
<img
|
||||
src={images[index].large || images[index].thumb}
|
||||
alt={images[index].fileName}
|
||||
|
||||
Reference in New Issue
Block a user