fix: compact home destination cards and layouts overflow - #101
Open
SyahrulBhudiF wants to merge 2 commits into
Open
fix: compact home destination cards and layouts overflow#101SyahrulBhudiF wants to merge 2 commits into
SyahrulBhudiF wants to merge 2 commits into
Conversation
|
@SyahrulBhudiF is attempting to deploy a commit to the Faizan Asad's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
What and why
Fixes the Home page destination-card layout and recommendation-carousel overflow from #100.
The destination cards were oversized and visually heavy: the icons were large and partially clipped, the cards occupied unnecessary vertical space, and the four destinations did not match the intended compact layout. The Home recommendation carousel could also create horizontal overflow after being dragged, shifting the page content and leaving a large blank area on the right.
This PR makes the destination cards compact and responsive, with small tinted icon containers, readable labels, and live counts/hints. It also clips horizontal carousel overflow to the carousel viewport while preserving the intended vertical artwork arc.
Closes #100
How it was checked
npm run verifypasses — 29 checks passedcargo testnot required — nosrc-tauri/files changedWhat changed
1. Compact destination cards
The Library, Browse, History, and Downloads cards now use a compact horizontal layout:
The cards continue to display live information:
2. Prevent carousel page overflow
The recommendation carousel now clips horizontal overflow inside its own viewport. Dragging the carousel no longer moves the surrounding Home page or creates a large empty region on the right. Vertical overflow remains available for the carousel's visual arc.
Screenshots
Before — oversized destination cards
The original layout shows tall destination cards with large clipped icons and unnecessary vertical space.
Before — carousel horizontal overflow
After dragging the recommendation carousel, the page content shifts and a large blank area appears on the right.
After — compact destination cards
The destination cards now use the compact horizontal layout: small tinted icons, title and live count/hint, with four evenly aligned cards across the Home page.
After — contained carousel
After the overflow fix, the carousel remains inside its own viewport. The Home page layout stays aligned while the surrounding content remains stable.
Notes for the reviewer