UNPKG

1.18 kBSCSSView Raw
1.ag-layout-print {
2 &.ag-body-viewport {
3 flex: none;
4 }
5
6 &.ag-root-wrapper {
7 display: inline-flex;
8 }
9
10 .ag-center-cols-clipper {
11 min-width: 100%;
12 }
13
14 .ag-body-horizontal-scroll {
15 display: none;
16 }
17 &.ag-force-vertical-scroll {
18 overflow-y: visible !important;
19 }
20}
21
22@media print {
23 .ag-root-wrapper.ag-layout-print {
24 &,
25 .ag-root-wrapper-body,
26 .ag-root,
27 .ag-body-viewport,
28 .ag-center-cols-container,
29 .ag-center-cols-viewport,
30 .ag-center-cols-clipper,
31 .ag-body-horizontal-scroll-viewport,
32 .ag-virtual-list-viewport {
33 // Need auto height because 100% height elements with overflow hidden cause printing issues in Edge
34 height: auto !important;
35 // Overflow hidden, because otherwise scroll bars print in IE
36 overflow: hidden !important;
37 // flex elements cause printing issues in Firefox
38 // https://bugzilla.mozilla.org/show_bug.cgi?id=939897
39 display: block !important;
40 }
41 .ag-row {
42 page-break-inside: avoid;
43 }
44 }
45}
\No newline at end of file