We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3a676a6 + 2ce6c87 commit c7a4020Copy full SHA for c7a4020
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',
33
+ },
34
35
36
paper: {
37
isolation: 'isolate',
38
},
@@ -81,13 +87,6 @@ const defaultTableStyles = theme => ({
81
87
position: 'absolute',
82
88
width: '1px',
83
89
84
- '@global': {
85
- '@media print': {
86
- '.datatables-noprint': {
- display: 'none',
- },
90
91
});
92
93
const TABLE_LOAD = {
0 commit comments