Skip to content

TableFooter ships a corrupted class string #539

Description

@cirdes
  • Where: gem/lib/ruby_ui/table/table_footer.rb:13:
    "border-t bg-muted/50 font-medium[& amp;>tr]:last:border-b-0". The
    amp; is HTML-decoded text pasted into Ruby source; a space before [
    is also missing.
  • Effect: every TableFooter emits the tokens font-medium[& and
    amp;>tr]:last:border-b-0 — neither is a Tailwind class, so font-medium
    and the last-row border rule are both lost.
  • Fix: "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0";
    re-record (on the 2.0 line) table/*.

Surfaced by the golden HTML suite (PR #536), which pins what 1.6 renders today — this defect included. Per maintainer decision (2026-09-19) main stays as is: this is addressed on the 2.0 line, and the golden snapshot that pins it is re-recorded there with the diff reviewed.

Source: design/v2/follow-up-issues.md.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions