[Home] Fix invalid CSS value vertical-align: center in ServiceMesh.style.js
Description
In src/sections/Home/service-mesh-management/ServiceMesh.style.js, line 27 uses vertical-align: center; inside .side:
.side {
vertical-align: center;
}
center is not a valid CSS value for the vertical-align property, so browsers ignore the declaration. (Line 37 in the same file correctly uses vertical-align: middle;.)
Expected Behavior
Replace vertical-align: center; with vertical-align: middle; so the declaration is valid CSS.
Affected File
src/sections/Home/service-mesh-management/ServiceMesh.style.js
I would like to work on this issue, please assign it to me?
Hi! I'd like to work on this if it's still available.
Plan:
- Fork the repo and create a branch, fix/8553-vertical-align.
- In src/sections/Home/service-mesh-management/ServiceMesh.style.js, change vertical-align: center; (line 27, inside .side) to vertical-align: middle;, which matches line 37.
- Run the site locally and check that the Service Mesh section on the home page looks the same or better at desktop and mobile widths.
- Open a PR with a DCO sign-off (git commit -s), link it with "Fixes #8553", and add before/after screenshots.
Could you please assign it to me?
Thanks to both of you for stepping up. I verified the report against the current code: vertical-align: center; is at line 27 of src/sections/Home/service-mesh-management/ServiceMesh.style.js (inside .side), and the same file already uses vertical-align: middle; at line 37, so the proposed fix is the right one.
@praju120056, this is assigned to you based on the concrete approach you posted. Please open the PR when ready.
@SaiSiddarth01, thank you for volunteering first in Slack and here. Since @praju120056 posted the verified fix approach on the issue, I have assigned it there to keep one owner per issue. There are more beginner-friendly issues under the help wanted label: https://github.com/layer5io/layer5/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22 - commenting on the issue itself with your GitHub username and a line on your approach is the fastest route to assignment.
No worries @yi-nuo426 . I'm happy for @praju120056 to proceed with this issue. Thank you for your guidance and suggestions. I'll definitely keep them in mind and follow the recommended approach for future issues. Looking forward to contributing to the Layer5 community!