[UI] Fix blog card thumbnail alignment in list viewfix: improve blog card thumbnail alignment in list view#7745
Conversation
|
🚨 Alert! Git Police! We couldn’t help but notice that one or more of your commits is missing a sign-off. A what? A commit sign-off (your email address). To amend the commits in this PR with your signoff using the instructions provided in the DCO check. To configure your dev environment to automatically signoff on your commits in the future, see these instructions.
|
rishiraj38
left a comment
There was a problem hiding this comment.
@Saanvim11 The DCO check is failing. Also, we already have a prop specifically handling the list view, so why are we adding object-fit properties again here?
I believe these changes might end up affecting the grid view as well.
|
|
@Saanvim11 Please make a signed commit using |
rishiraj38
left a comment
There was a problem hiding this comment.
Please apply the changes requested.
|
@saurabhraghuvanshii @Rajesh-Nagarajan-11 Please take a look. Apart from the DCO, everything else looks good to me. |
|
@Saanvim11 Kindly sign off your commits please |
|
@Saanvim11, are you active? Any updates? |
|
@Saanvim11
|
Signed-off-by: leecalcote <leecalcote@users.noreply.github.com> Signed-off-by: Saanvim11 <saanvimoolchandani01@gmail.com>
Signed-off-by: Daniel Mungai <chegedan699@gmail.com> Signed-off-by: Saanvim11 <saanvimoolchandani01@gmail.com>
Signed-off-by: l5io <ci@meshery.io> Signed-off-by: Saanvim11 <saanvimoolchandani01@gmail.com>
Signed-off-by: Saanvim11 <saanvimoolchandani01@gmail.com>
…- Remove conflicting margin-left on images in list view- Add overflow: hidden to prevent image overflow - Add flex-shrink: 0 to maintain container dimensions- Apply object-fit: cover consistently across all breakpoints- Set display: block to remove inline spacing issues- Simplify Card.style.js by removing redundant CSS Signed-off-by: Saanvim11 <saanvimoolchandani01@gmail.com>
887f90b to
93752e9
Compare
|
@Saanvim11 Thank you for your contribution! Let's discuss this during the website call tomorrow at 5:30 PM IST | 7 AM CST Add it as an agenda item to the meeting minutes, if you would 🙂 |
|
@Saanvim11 I would suggest you to open new PR. |
Description
This PR fixes inconsistent blog card thumbnail alignment in list view.
Changes
object-fit: containwithobject-fit: coverThis addresses the layout inconsistency discussed in #7743.