Merged
Conversation
…ls component and adjust padding in SearchListingDetailsPage
There was a problem hiding this comment.
Pull request overview
Small UI/robustness tweaks in the main listing details and sharing components.
Changes:
- Adjust responsive styling for the share URL display in
ShareWIth. - Update spacing on the search listing details page banner header.
- Add a defensive guard for
extraDetailsparsing inItemExtraDetails.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/components/shared/ShareWith/ShareWIth.tsx | Tweaks responsive Tailwind classes for the share URL text display. |
| src/app/(main-layout)/(home)/search-listing/[id]/page.tsx | Adjusts banner header padding/spacing on the listing details page. |
| src/app/(main-layout)/(home)/search-listing/[id]/_components/ItemExtraDetails.tsx | Adds a runtime guard before parsing extraDetails into sections. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
| <div> | ||
| <GradientBannerCustom showNav={false}> | ||
| <div className="text-white flex flex-row md:flex-row items-start justify-between gap-3 w-full md:pt-24 px-4 pt-2"> | ||
| <div className="text-white flex flex-row md:flex-row items-start justify-between gap-3 w-full md:pt-10 px-4 pt-2 pb-2"> |
Comment on lines
+11
to
+16
| if ( | ||
| !extraDetails || | ||
| !Array.isArray(extraDetails) || | ||
| extraDetails.length === 0 | ||
| ) | ||
| return []; |
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.
No description provided.