/*
 * WORKAROUND ZK-6282 (MF-Z1; tasks/new-demo/marble-features-plan.md §6b).
 *
 * grid, listbox, tree: a body with a fixed height prints only its visible rows.
 *
 * Symptom: Marble's print rules (web/zul/css/utility/_print.css) set height: auto and overflow: visible on
 * .z-grid-body, .z-listbox-body and .z-tree-body, but when the component has a height the widget writes an
 * inline height and overflow on that body, and an inline height on the outer element; inline styles win.
 * The printed page shows only the rows that were visible on screen.
 *
 * Fix (the Workaround of ZK-6282): reset the body and the outer element with !important, which beats the
 * inline style. A mesh with rod="true" is not supported for printing (by design), so its placeholders are
 * left alone.
 *
 * Remove when a ZK FL build expands a mesh with a fixed height when printing (zul/.../css/utility/_print.css).
 */
@media print {
	.z-grid-body, .z-listbox-body, .z-tree-body {
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
	}
	.z-grid, .z-listbox, .z-tree {
		height: auto !important;
		max-height: none !important;
	}
}
