[FIX] fixed the Mobile view card of about section misaligned#78
[FIX] fixed the Mobile view card of about section misaligned#78Manishhhsys wants to merge 1 commit intoOpsiMate:mainfrom
Conversation
|
@Manishhhsys is attempting to deploy a commit to the idan lodzki's projects Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughModified the PersonCard component to render the contributor role using a div element instead of a paragraph element while maintaining identical styling classes. This change updates the semantic HTML structure without affecting the visual layout or component behavior. Changes
Suggested labels
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Issue Reference
SEE (#75 )
The card in the About section appeared misaligned on mobile view, while it displayed correctly on desktop view.
What Was Changed
<p>tag with a<div>tag inside the card component.Why Was It Changed
Using a
<p>tag for wrapping elements caused default browser margins and spacing issues, resulting in misalignment on mobile devices.Switching to a
<div>eliminates this issue and keeps the layout responsive and visually consistent.Screenshots
Before:
After:
Additional Context (Optional)
Summary by CodeRabbit