Skip to content

fix(#3384): add v2 table border#3391

Merged
chrisolsen merged 1 commit intodevfrom
benji/3384-fix-v2-table-border
Feb 18, 2026
Merged

fix(#3384): add v2 table border#3391
chrisolsen merged 1 commit intodevfrom
benji/3384-fix-v2-table-border

Conversation

@bdfranck
Copy link
Copy Markdown
Collaborator

@bdfranck bdfranck commented Feb 4, 2026

This PR fixes the v2 table border.

Before (the change)

The v2 Table doesn't have a border. 😢

image

After (the change)

The v2 Table has a border! 🎉

image

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment on lines 174 to 175
border-collapse: separate;
border-spacing: 0;
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CSS properties border-collapse and border-spacing are table-specific properties that only work on <table> elements or elements with display: table. Applying these properties to the .goatable div element will have no effect.

The styles should be split into two rules:

  1. Keep border, border-radius, and overflow on .v2.goatable for the container styling (this part is correct)
  2. Move border-collapse: separate and border-spacing: 0 to a separate rule that targets the table element

For the table-specific properties, you have two options:

  • Add a rule in this file: .v2 table { border-collapse: separate; border-spacing: 0; } (for the internal table element when not using React)
  • Add a global rule in components.css: goa-table[version="2"] table { border-collapse: separate; border-spacing: 0; } (works for all cases including slotted content)

Copilot uses AI. Check for mistakes.
@bdfranck bdfranck marked this pull request as draft February 5, 2026 18:32
@GovAlta GovAlta deleted a comment from Copilot AI Feb 5, 2026
@bdfranck bdfranck force-pushed the benji/3384-fix-v2-table-border branch 2 times, most recently from e5161df to 8ffe5bd Compare February 5, 2026 20:58
@bdfranck bdfranck marked this pull request as ready for review February 5, 2026 20:58
twjeffery
twjeffery previously approved these changes Feb 10, 2026
Copy link
Copy Markdown
Collaborator

@twjeffery twjeffery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Thanks for jumping on this.

@chrisolsen
Copy link
Copy Markdown
Collaborator

@bdfranck You will need to rebase, which should also fix your failing test issue.

@bdfranck bdfranck dismissed stale reviews from vanessatran-ddi and twjeffery via 718451d February 13, 2026 23:41
@bdfranck bdfranck force-pushed the benji/3384-fix-v2-table-border branch from 8ffe5bd to 718451d Compare February 13, 2026 23:41
@bdfranck
Copy link
Copy Markdown
Collaborator Author

I've rebased the branch against the latest dev and resolved the merge conflicts. 👍

@bdfranck bdfranck force-pushed the benji/3384-fix-v2-table-border branch from 3e23063 to c96e4f1 Compare February 18, 2026 15:59
@bdfranck
Copy link
Copy Markdown
Collaborator Author

I rebased against latest dev again and resolved the merge conflicts.

@chrisolsen chrisolsen merged commit 8fe8077 into dev Feb 18, 2026
4 checks passed
@chrisolsen chrisolsen deleted the benji/3384-fix-v2-table-border branch February 18, 2026 16:42
@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 1.41.0-dev.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 1.11.0-dev.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 6.11.0-dev.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 4.11.0-dev.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 1.41.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 1.11.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 6.11.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 4.11.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 1.41.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen chrisolsen added the released Released into production. label Feb 27, 2026
@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 1.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 6.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 4.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 2.0.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 2.0.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 7.0.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 5.0.0-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@chrisolsen
Copy link
Copy Markdown
Collaborator

🎉 This PR is included in version 5.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Table V2 styling doesn't apply correctly in experimental wrapper

5 participants