-
-
Notifications
You must be signed in to change notification settings - Fork 335
[Table] td
cells in header are unstyled
#3250
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
Labels
state/awaiting-investigation
Anything which needs more investigation
type/bug
Any issue which is a bug or PR which fixes a bug
Comments
Just realised that the That's coming from here. I reckon it could be simplified to be: .ui.structured.celled.table > tr > th,
.ui.structured.celled.table > tr > td,
.ui.structured.celled.table > thead > tr > *,
.ui.structured.celled.table > tbody > tr > *,
.ui.structured.celled.table > tfoot > tr > * { Same with |
AllanJard
added a commit
to DataTables/DataTablesSrc
that referenced
this issue
Apr 22, 2025
AllanJard
pushed a commit
to DataTables/Dist-DataTables
that referenced
this issue
Apr 22, 2025
…for `thead > tr > td` cells being unstyled Logged at fomantic/Fomantic-UI#3250 Sync to source repo @bf5265bbda785f173239a915abcf828875cbbb6e
AllanJard
pushed a commit
to DataTables/Dist-DataTables-DataTables
that referenced
this issue
Apr 22, 2025
…for `thead > tr > td` cells being unstyled Logged at fomantic/Fomantic-UI#3250 Sync to source repo @bf5265bbda785f173239a915abcf828875cbbb6e
AllanJard
pushed a commit
to DataTables/Dist-DataTables-Bootstrap
that referenced
this issue
Apr 22, 2025
…for `thead > tr > td` cells being unstyled Logged at fomantic/Fomantic-UI#3250 Sync to source repo @bf5265bbda785f173239a915abcf828875cbbb6e
AllanJard
pushed a commit
to DataTables/Dist-DataTables-Foundation
that referenced
this issue
Apr 22, 2025
…for `thead > tr > td` cells being unstyled Logged at fomantic/Fomantic-UI#3250 Sync to source repo @bf5265bbda785f173239a915abcf828875cbbb6e
AllanJard
pushed a commit
to DataTables/Dist-DataTables-jQueryUI
that referenced
this issue
Apr 22, 2025
…for `thead > tr > td` cells being unstyled Logged at fomantic/Fomantic-UI#3250 Sync to source repo @bf5265bbda785f173239a915abcf828875cbbb6e
AllanJard
pushed a commit
to DataTables/Dist-DataTables-SemanticUI
that referenced
this issue
Apr 22, 2025
…for `thead > tr > td` cells being unstyled Logged at fomantic/Fomantic-UI#3250 Sync to source repo @bf5265bbda785f173239a915abcf828875cbbb6e
AllanJard
pushed a commit
to DataTables/Dist-DataTables-Bootstrap4
that referenced
this issue
Apr 22, 2025
…for `thead > tr > td` cells being unstyled Logged at fomantic/Fomantic-UI#3250 Sync to source repo @bf5265bbda785f173239a915abcf828875cbbb6e
AllanJard
pushed a commit
to DataTables/Dist-DataTables-Bootstrap5
that referenced
this issue
Apr 22, 2025
…for `thead > tr > td` cells being unstyled Logged at fomantic/Fomantic-UI#3250 Sync to source repo @bf5265bbda785f173239a915abcf828875cbbb6e
AllanJard
pushed a commit
to DataTables/Dist-DataTables-Bulma
that referenced
this issue
Apr 22, 2025
…for `thead > tr > td` cells being unstyled Logged at fomantic/Fomantic-UI#3250 Sync to source repo @bf5265bbda785f173239a915abcf828875cbbb6e
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
state/awaiting-investigation
Anything which needs more investigation
type/bug
Any issue which is a bug or PR which fixes a bug
Bug Report
It is valid to have
td
as well asth
cells in a table header, and this is reasonably common in cases where there are multiple rows. The Fomantic code will styleth
cells in the header with padding, color, etc, buttd
cells are not.This is due to the selector
.ui.table > thead > tr > th
in table.less.It is worth noting that cells in the footer do not have this issue due to the following selector already being used:
I would actually propose for both that
.ui.table > thead > tr > *
be used (and similar fortfoot
) since onlyth
andtd
are valid.Steps to reproduce
Expected result
The
td
andth
cells in the header should have similar styling. Possibly you might want the font-weight to be reduced fortd
?Actual result
There is no padding or other relevant styles applied to the
td
cells in the header.Testcase
https://jsfiddle.net/87jtmac0/
Screenshot (if possible)
Version
2.9.4. Current release at time of writing.
The text was updated successfully, but these errors were encountered: