Skip to content

Commit 13faecf

Browse files
committed
Implemented print media queries for better PDF layout
1 parent 7e08278 commit 13faecf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

client/components/RootPage.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ const RootPage = styled.div`
1414
height: 100%;
1515
overflow: hidden;
1616
}
17+
@media print {
18+
@page {
19+
size: landscape;
20+
}
21+
}
1722
`;
1823

1924
export default RootPage;

0 commit comments

Comments
 (0)