[Partners] Fix invalid CSS property value float: center in partner.style.js
Description
In src/sections/Partners/partner.style.js, line 157 sets float: center; inside the .btn rule:
.btn {
font-size: inherit;
min-width: 240px;
max-width: 300px;
width: 100%;
float: center;
}
center is not a valid CSS value for the float property (only left, right, none, inline-start, and inline-end are valid), so browsers ignore this declaration.
Expected Behavior
Remove the invalid float: center; declaration (or replace it with float: none; / margin: 0 auto; if centering is intended, noting that .btn-section already uses display: flex; margin: auto; text-align: center;).
Steps for Newcomers
- Open
src/sections/Partners/partner.style.jsand go to line 157. - Replace or remove
float: center;inside.btn. - Run
npx eslint src/sections/Partners/partner.style.jsandnpm run test:unitto verify. - Keep the diff strictly scoped to this line with no unrelated formatting changes.
Affected File
src/sections/Partners/partner.style.js
Hey @ayushbuilds-code, I'd like to work on this issue. I'll inspect the .btn and .btn-section styles, remove the invalid float: center; declaration, and verify that the existing alignment works correctly. I'll keep the changes minimal and run the suggested checks
Could you please assign this issue to me? Thank you!