Skip to content

Commit 4674ff5

Browse files
author
dtbuild
committed
73d0afc93936bf75733e22a1f4f7326be4ea9f23 Fix: Vertical alignment in the header for icons wouldn't align for Bootstrap and Bulma
DD-3096 Sync to source repo @73d0afc93936bf75733e22a1f4f7326be4ea9f23
1 parent 29295a0 commit 4674ff5

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

css/dataTables.bulma.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
--dt-row-stripe: 0, 0, 0;
99
--dt-row-hover: 0, 0, 0;
1010
--dt-column-ordering: 0, 0, 0;
11+
--dt-header-align-items: center;
1112
--dt-html-background: white;
1213
}
1314
:root.dark {
@@ -281,6 +282,7 @@ table.dataTable td.dt-type-numeric div.dt-column-footer,
281282
table.dataTable td.dt-type-date div.dt-column-header,
282283
table.dataTable td.dt-type-date div.dt-column-footer {
283284
flex-direction: row-reverse;
285+
align-items: var(--dt-header-align-items);
284286
}
285287
table.dataTable th.dt-left,
286288
table.dataTable td.dt-left {
@@ -412,6 +414,10 @@ table.dataTable tbody td.dt-body-nowrap {
412414
white-space: nowrap;
413415
}
414416

417+
:root {
418+
--dt-header-align-items: flex-start;
419+
}
420+
415421
:root {
416422
--dt-row-selected: 0, 209, 178;
417423
--dt-row-selected-text: 46, 51, 61;

css/dataTables.bulma.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

datatables.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
],
1515
"src-repo": "http://github.com/DataTables/DataTablesSrc",
1616
"last-tag": "2.3.1",
17-
"last-sync": "d558328106bef2d48dfc4cf78581dd106f5c1077"
17+
"last-sync": "73d0afc93936bf75733e22a1f4f7326be4ea9f23"
1818
}

js/dataTables.bulma.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)