layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

[Blog] Fix invalid CSS value background-color: none in blogSidebar.style.js

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

Description

In src/sections/Blog/Blog-sidebar/blogSidebar.style.js, line 180 uses background-color: none; inside .explain-1 .cards:

.cards {
  margin: 0.15rem auto 2.5rem ;
  max-width: 50rem;
  padding: 0rem 2.7rem 0rem 1rem;
  background-color: none;
  border-radius: 25px;

none is not a valid CSS value for background-color, so browsers ignore the declaration.

Expected Behavior

Replace background-color: none; with background-color: transparent; (or remove the invalid declaration) so the CSS is valid.

Affected File

  • src/sections/Blog/Blog-sidebar/blogSidebar.style.js

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

Hi! I'd like to work on this issue. Could you please assign it to me?

My proposed approach:

  • Locate the .explain-1 .cards rule in src/sections/Blog/Blog-sidebar/blogSidebar.style.js.
  • Replace the invalid background-color: none; with background-color: transparent;.
  • Verify that the styling remains unchanged and the CSS declaration is valid.
  • Test the changes locally and raise a PR referencing this issue.

SaiSiddarth01 avatar Nov 28 '26 19:11 SaiSiddarth01

Hi @SaiSiddarth01, assigned to you - your approach checks out against the code: background-color: none; is at line 180 of src/sections/Blog/Blog-sidebar/blogSidebar.style.js. Please replace it with background-color: transparent;, keep the change scoped to that declaration, and sign off your commit with git commit -s for the DCO check.

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