-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed facility cover photo #4765
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
@GokulramGHV The card height is irregular for different facilities now |
Kudos, SonarCloud Quality Gate passed!
|
the existing staging card size looks good, rather than the size in the deploy preview, can we keep it that way? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@GokulramGHV try these changes, it seems to have solved it
@@ -47,7 +47,7 @@ export const FacilityCard = (props: { facility: any; userType: any }) => { | |||
|
|||
return ( | |||
<div key={`usr_${facility.id}`} className="w-full"> | |||
<div className="block rounded-lg h-full overflow-clip bg-white shadow hover:border-primary-500"> | |||
<div className="block rounded-lg h-64 overflow-clip bg-white shadow hover:border-primary-500"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<div className="block rounded-lg h-64 overflow-clip bg-white shadow hover:border-primary-500"> | |
<div className="block rounded-lg h-full overflow-clip bg-white shadow hover:border-primary-500"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rithviknishad making this change makes the facility cards' heights not uniform as @Pranshu1902 mentioned above
@@ -57,7 +57,7 @@ export const FacilityCard = (props: { facility: any; userType: any }) => { | |||
<img | |||
src={facility.read_cover_image_url} | |||
alt={facility.name} | |||
className="w-full h-[210px] object-cover" | |||
className="object-cover w-full h-full" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
className="object-cover w-full h-full" | |
className="object-cover h-full" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@GokulramGHV once you make the changes, mark it for testing |
@nihal467 as this pr was discussed with gigin, he apporved the changes and asked me to mark it for testing |
LGTM |
@rithviknishad can you rereview this |
Proposed Changes
Screenshot
@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist