Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to disable this when printing #43

Open
mdodge-ecgrow opened this issue Oct 30, 2024 · 0 comments
Open

Possible to disable this when printing #43

mdodge-ecgrow opened this issue Oct 30, 2024 · 0 comments

Comments

@mdodge-ecgrow
Copy link

mdodge-ecgrow commented Oct 30, 2024

I am trying to add basic print styles to my app and its only printing the first page and I'm fairly certain it is because of the inner scroll section on my page.

I tried adding this to my css:

@media print {
	.no-print, .no-print * {
		display: none !important;
	}

	.rc-scrollbars-container, .rc-scrollbars-view {
		max-height: none;
	}
}

But the CSS appears to get overridden by inline styles. If I add that CSS in with the inspector, it does scroll the page in my print preview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant