feat: enlarge image carousel dialog with dark floating style#826
Merged
Conversation
- 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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
DialogContent→max-w-[90vw] max-h-[90vh]; carousel + image →max-h-[70vh].bg-background/bg-muted, usebg-black/60 border-white/10 backdrop-blur-md shadow-2xlso the image floats on the dark overlay while the dialog boundary stays visible.N of Mcounter switched to white/muted-white for contrast.Search Images→Imagesto match other section labels (Sources,Videos, etc.).Layout structure and shadcn
Carouselwiring are unchanged.Test plan
bun typecheck/lint/format:check