Skip to content
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

Tables style should not rely on scope attribute #648

Open
deniak opened this issue Aug 2, 2024 · 0 comments
Open

Tables style should not rely on scope attribute #648

deniak opened this issue Aug 2, 2024 · 0 comments
Assignees

Comments

@deniak
Copy link
Member

deniak commented Aug 2, 2024

Describe the issue
The table component relies on the scope attribute to style the headers.

th[scope="col"] {
  background-color: #024488;
  color: #fff;
}

Removing/Forgetting that attribute will remove the blue background.

Recommended solution
Updating the selector to thead > th will make that attribute optional and ensure all the tables have the same style.

Additional request
We might also need the same changes for tables footer tfoot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 To do
Development

No branches or pull requests

2 participants