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:
sebastjanartic 2026-02-28 21:08:51 +00:00
parent 16734a3e82
commit 6b7f53fa1e
3 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

View File

@ -110,7 +110,7 @@ function SingleImageCarousel({
onMouseEnter={() => setPaused(true)} onMouseEnter={() => setPaused(true)}
onMouseLeave={() => setPaused(false)} 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 <img
src={images[index].large || images[index].thumb} src={images[index].large || images[index].thumb}
alt={images[index].fileName} alt={images[index].fileName}