Skip to content

Add default border-top to tfoot - #193

Open
tophtucker wants to merge 1 commit into
mainfrom
toph/tfoot
Open

tophtucker wants to merge 1 commit into
mainfrom
toph/tfoot

Conversation

@tophtucker

Copy link
Copy Markdown
Member

Noticed we have no default styles on tfoot to match thead. Notebook: https://observablehq.com/@tophtucker/table-footers-have-no-distinct-default-style

Comment thread src/styles/global.css
}

tfoot tr {
border-top: solid 1px var(--theme-foreground-fainter);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Doesn’t this mean that a tr in the footer will have both a top and a bottom border if there are multiple rows in the footer? Guess ya gotta fix that somehow.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Probably change it to tfoot tr:first-child.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants