We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
print: false
1 parent b8d2eee commit 1885e9fCopy full SHA for 1885e9f
1 file changed
src/MUIDataTable.js
@@ -26,7 +26,13 @@ import { HTML5Backend } from 'react-dnd-html5-backend';
26
import { load, save } from './localStorage';
27
28
const defaultTableStyles = theme => ({
29
- root: {},
+ root: {
30
+ '& .datatables-noprint': {
31
+ '@media print': {
32
+ display: 'none !important',
33
+ },
34
35
36
paper: {},
37
paperResponsiveScrollFullHeightFullWidth: {
38
position: 'absolute',
@@ -79,13 +85,6 @@ const defaultTableStyles = theme => ({
79
85
80
86
width: '1px',
81
87
},
82
- '@global': {
83
- '@media print': {
84
- '.datatables-noprint': {
- display: 'none',
- },
88
89
});
90
91
const TABLE_LOAD = {
0 commit comments