SC-51613 Remove card body min-height#711
Conversation
✅ Deploy Preview for echoes-react ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@marciopmoreira6 the review skill is saying this: Must-fix: The consolidated Suggested fix: assert on the style source of truth instead of computed style here, for example by verifying that |
|
Handled in 0bbac48. I removed the |
|
Handled the two remaining Gitar suggestions in 5e73bf4: removed the unused |
|
david-cho-lerat-sonarsource
left a comment
There was a problem hiding this comment.
if you confirm the 200 to 250 change was intentional then I have no further objections your honor
Code Review ✅ Approved 6 resolved / 6 findingsRefactors Card sizing by removing min-height constraints in favor of padding-based layout, resolving all previous naming, testing, and CSS design token findings. ✅ 6 resolved✅ Quality: New header heading-height values bypass cssVar design tokens
✅ Quality: Header min-height regression test is ineffective in jsdom
✅ Quality: New tests call render() directly instead of a shared helper
✅ Bug: Test 'title is clicked' does not actually click the title
✅ Quality: Unused
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Gitar




Summary
Test
Summary by Gitar
min-heightandmax-heightvariables fromCardHeaderStyled,RightContentStyled, andCardHeaderTitleButtonStyledCARD_HEADER_SIZE_STYLESto rely on padding-based sizing instead of explicit height variablesmin-heightis unset forCardHeader,CardBody, and collapsible header buttonsCARD_HEADER_SIZE_STYLESandCARD_SIZE_STYLESonly use padding configurationsThis will update automatically on new commits.