Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit cb6ec6f

Browse files
author
bikrant
committed
Updated with PR comments
1 parent e7962cb commit cb6ec6f

File tree

4 files changed

+33
-14
lines changed

4 files changed

+33
-14
lines changed

demo/angular.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
"node_modules/materialize-css/dist/css/materialize.css",
3434
"node_modules/prism-themes/themes/prism-material-dark.css",
3535
"src/styles.css",
36-
"node_modules/prismjs/plugins/toolbar/prism-toolbar.css",
37-
"node_modules/datatables.net-fixedcolumns-bs4/css/fixedColumns.bootstrap4.css"
36+
"node_modules/prismjs/plugins/toolbar/prism-toolbar.css"
3837
],
3938
"scripts": [
4039
"node_modules/jquery/dist/jquery.js",
@@ -135,8 +134,7 @@
135134
"node_modules/datatables.net-responsive-dt/css/responsive.dataTables.css",
136135
"node_modules/datatables.net-select-dt/css/select.dataTables.css",
137136
"node_modules/materialize-css/dist/css/materialize.css",
138-
"src/styles.css",
139-
"node_modules/datatables.net-fixedcolumns-bs4/css/fixedColumns.bootstrap4.css"
137+
"src/styles.css"
140138
],
141139
"assets": [
142140
"src/assets",

demo/package-lock.json

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"datatables.net-colreorder-dt": "^1.5.5",
3333
"datatables.net-dt": "^1.11.3",
3434
"datatables.net-fixedcolumns": "^4.3.0",
35-
"datatables.net-fixedcolumns-bs4": "^4.3.0",
3635
"datatables.net-responsive": "^2.2.9",
3736
"datatables.net-responsive-dt": "^2.2.9",
3837
"datatables.net-scroller": "^2.0.5",

demo/src/styles.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,34 @@ div.code-toolbar > .toolbar button {
154154
markdown h5:not(markdown.faqMarkdown) {
155155
color: #2196f3;
156156
}
157+
158+
159+
/** Fixed columns css
160+
161+
These classes are injected by fixed columns extensions
162+
and can be tweaked here to match the colors of headers and body
163+
to hide the scrolling element behind the fixed header.
164+
165+
*/
166+
167+
168+
table.dataTable thead tr > .dtfc-fixed-left,
169+
table.dataTable thead tr > .dtfc-fixed-right,
170+
table.dataTable tfoot tr > .dtfc-fixed-left,
171+
table.dataTable tfoot tr > .dtfc-fixed-right {
172+
top: 0;
173+
bottom: 0;
174+
z-index: 3;
175+
background-color: white;
176+
}
177+
178+
table.dataTable tbody tr > .dtfc-fixed-left,
179+
table.dataTable tbody tr > .dtfc-fixed-right {
180+
z-index: 1;
181+
background-color: white;
182+
}
183+
184+
div.dtfc-left-top-blocker,
185+
div.dtfc-right-top-blocker {
186+
background-color: white;
187+
}

0 commit comments

Comments
 (0)