Skip to content

Commit 94f2d44

Browse files
author
dtbuild
committed
bf5265bbda785f173239a915abcf828875cbbb6e Fix: Fomantic UI workaround for thead > tr > td cells being unstyled
Logged at fomantic/Fomantic-UI#3250 Sync to source repo @bf5265bbda785f173239a915abcf828875cbbb6e
1 parent 9307fbc commit 94f2d44

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

css/dataTables.semanticui.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,18 @@ table.dataTable.table.hover > tbody > tr.selected:hover > * {
413413
box-shadow: inset 0 0 0 9999px rgba(224, 224, 224, 0.95);
414414
box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.95);
415415
}
416+
table.dataTable.table > thead > tr > td {
417+
text-align: inherit;
418+
color: rgba(0, 0, 0, 0.87);
419+
padding: 0.5em 0.78571429em;
420+
vertical-align: inherit;
421+
font-style: none;
422+
text-transform: none;
423+
border-bottom: 1px solid rgba(34, 36, 38, 0.1);
424+
}
425+
table.dataTable.table.celled > thead > tr > td:not(:first-child) {
426+
border-left: 1px solid rgba(34, 36, 38, 0.1);
427+
}
416428

417429
table.dataTable.ui.table.nowrap th, table.dataTable.ui.table.nowrap td {
418430
white-space: nowrap;

0 commit comments

Comments
 (0)