Skip to content

feat: enlarge image carousel dialog with dark floating style#826

Merged
miurla merged 1 commit intomainfrom
feat/carousel-larger-dialog
Apr 15, 2026
Merged

feat: enlarge image carousel dialog with dark floating style#826
miurla merged 1 commit intomainfrom
feat/carousel-larger-dialog

Conversation

@miurla
Copy link
Copy Markdown
Owner

@miurla miurla commented Apr 15, 2026

Summary

Enlarges the image carousel lightbox (triggered from search result images) and swaps the white card surface for a dark, floating style so images get more room and feel more like a viewer.

Changes

  • Size: DialogContentmax-w-[90vw] max-h-[90vh]; carousel + image → max-h-[70vh].
  • Surface: Remove bg-background / bg-muted, use bg-black/60 border-white/10 backdrop-blur-md shadow-2xl so the image floats on the dark overlay while the dialog boundary stays visible.
  • Text: Title, description, and N of M counter switched to white/muted-white for contrast.
  • Title: Rename Search ImagesImages to match other section labels (Sources, Videos, etc.).

Layout structure and shadcn Carousel wiring are unchanged.

Test plan

  • bun typecheck / lint / format:check
  • Manual: search for a query that returns images, click any thumbnail → dialog opens larger, floats on dark backdrop, dialog boundary is visible, no vertical scroll.

- Bump DialogContent to max-w-[90vw] / max-h-[90vh] and image area to
  max-h-[70vh] so the carousel fills a much larger portion of the
  viewport.
- Replace the white card surface with a translucent bg-black/60 panel
  (border-white/10 + backdrop-blur-md + shadow-2xl) so images appear to
  float on the dark overlay while the dialog boundary stays visible.
- Update header/description/counter text colors to white for contrast.
- Rename the dialog title from "Search Images" to the more concise
  "Images" to match other section labels.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
morphic Ready Ready Preview, Comment Apr 15, 2026 8:52am

@miurla miurla merged commit 73b8d36 into main Apr 15, 2026
8 checks passed
@miurla miurla deleted the feat/carousel-larger-dialog branch April 15, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant