When attempting to print the page body, I am encountering an issue where the vertical "navbar" continues to display and covers a portion of the content.
Below is the code I am using to hide the navbar when printing:
@media print and (min-width: 800px){
#print {
display: none;
}
}
The navbar is loaded on _Layout.cshtml as a partial view:
<partial name=" _MenuSidebarVerticalPartial" id="print" />>