Skip to content

Commit

Permalink
Fixed #1009 - DataTable column headers not displaying in nested table
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Sep 10, 2019
1 parent f8c1c40 commit 451951a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/datatable/DataTable.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
}

/* Responsive */
.p-datatable-responsive .p-datatable-tbody > tr > td .p-column-title {
.p-datatable-responsive .p-datatable-tbody > tr.p-datatable-row > td .p-column-title {
display: none;
}

Expand All @@ -160,7 +160,7 @@
display: none !important;
}

.p-datatable-responsive .p-datatable-tbody > tr > td {
.p-datatable-responsive .p-datatable-tbody > tr.p-datatable-row > td {
text-align: left;
display: block;
border: 0 none;
Expand All @@ -169,7 +169,7 @@
clear: left;
}

.p-datatable-responsive .p-datatable-tbody > tr > td .p-column-title {
.p-datatable-responsive .p-datatable-tbody > tr.p-datatable-row > td .p-column-title {
padding: .4em;
min-width: 30%;
display: inline-block;
Expand Down

0 comments on commit 451951a

Please sign in to comment.