layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

[Home] Fix invalid CSS value vertical-align: center in ServiceMesh.style.js

Open ayushbuilds-code opened this issue 6 days ago • 4 comments

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

ayushbuilds-code avatar Nov 28 '26 14:11 ayushbuilds-code

I would like to work on this issue, please assign it to me?

SaiSiddarth01 avatar Nov 28 '26 14:11 SaiSiddarth01

Hi! I'd like to work on this if it's still available.

Plan:

  1. Fork the repo and create a branch, fix/8553-vertical-align.
  2. 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.
  3. 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.
  4. 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?

praju120056 avatar Nov 28 '26 15:11 praju120056

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.

yi-nuo426 avatar Nov 28 '26 16:11 yi-nuo426

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!

SaiSiddarth01 avatar Nov 28 '26 16:11 SaiSiddarth01