[Blog] Fix invalid CSS value background-color: none in blogSidebar.style.js
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
Hi! I'd like to work on this issue. Could you please assign it to me?
My proposed approach:
- Locate the
.explain-1 .cardsrule insrc/sections/Blog/Blog-sidebar/blogSidebar.style.js. - Replace the invalid
background-color: none;withbackground-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.
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.