-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(components): [table] fix summary row cells on table with layout auto not aligned with data cells #14315
Conversation
👋 @FrontEndDog, seems like this is your first time contribution to element-plus.
|
Hello @FrontEndDog, thank you for contributing to element-plus, please see our guideline to see how to make contribution |
🧪 Playground Preview: https://element-plus.run/?pr=14315 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…uto not aligned with data cells (element-plus#14315) fix(components): [table] fix summary row cells not aligned
…uto not aligned with data cells (element-plus#14315) fix(components): [table] fix summary row cells not aligned
Please make sure these boxes are checked before submitting your PR, thank you!
dev
branch.Description
Change the
table-footer
to the same structure as thetable-header
Related Issue
Fixes #14306 .
Explanation of Changes
🤖 Generated by Copilot at b2c4942
table-footer
component to usetfoot
element and remove unused imports and variables (link, link, link)table-footer
component totable
component template and conditionally render it based onshowSummary
andtableLayout
props (link, link)table-footer
component insidetable
element infooterWrapper
div and renderhColgroup
component to align column widths and spans (link)tfoot
element with consistent background and text color and remove unnecessary border and overflow styles fromfooter-wrapper
element (link, link, link)